Skip to content

Commit 73510b1

Browse files
noahsilasTylerBrock
authored andcommitted
Fix test spying on old API
1 parent c1a2db5 commit 73510b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/Auth.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ describe('Auth', () => {
4343
});
4444

4545
it('should only query the roles once', done => {
46-
const loadRolesSpy = spyOn(auth, '_loadRoles').and.callThrough();
46+
const loadRolesSpy = spyOn(auth, '_loadUserRolesForAccess').and.callThrough();
4747
auth
4848
.getUserRoles()
4949
.then(roles => {

0 commit comments

Comments
 (0)