Update tests

This commit is contained in:
Matthew Ross 2020-06-01 14:05:41 -04:00
parent ad37cb2880
commit fdc50de1df
2 changed files with 5 additions and 1 deletions

View File

@ -284,7 +284,7 @@ describe('BoardService', () => {
});
it('refreshes the API token', () => {
service.refreshToken();
service.refreshToken(() => {});
testCall('api/refresh', 'POST');
});

View File

@ -32,6 +32,10 @@ export class BoardServiceMock {
updateColumn(_: any) {
return new BehaviorSubject({});
}
refreshToken(fn: any) {
fn();
}
}
export class SettingsServiceMock {