File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ component extends="testbox.system.BaseSpec" {
44
44
wireboxMock .$( " getInstance" ).$args ( mockedPath ).$results ( userServiceMock );
45
45
46
46
var actual = auth .getUserServicePublic ();
47
-
47
+
48
48
expect ( actual ).toBe ( userServiceMock );
49
49
} );
50
50
@@ -55,7 +55,7 @@ component extends="testbox.system.BaseSpec" {
55
55
56
56
auth .getUserServicePublic ();
57
57
auth .getUserServicePublic ();
58
-
58
+
59
59
expect ( wireboxMock .$once ( " getInstance" ) )
60
60
.toBeTrue ( " [getInstance] should only have been called once." );
61
61
} );
@@ -124,7 +124,7 @@ component extends="testbox.system.BaseSpec" {
124
124
} );
125
125
126
126
it ( " returns the user from the request if it exists" , function () {
127
- requestStorageMock .$( " exists" , true );
127
+ requestStorageMock .$( " exists" , true );
128
128
requestStorageMock .$( " getVar" , userMock );
129
129
130
130
auth .getUser ();
@@ -333,4 +333,4 @@ component extends="testbox.system.BaseSpec" {
333
333
userServiceMock .$( " retrieveUserByUsername" , userMock );
334
334
}
335
335
336
- }
336
+ }
You can’t perform that action at this time.
0 commit comments