Skip to content

Commit 5640ab6

Browse files
committed
don't pass session ids into Session.create tests
1 parent 9266c7d commit 5640ab6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

generated/tests/browser/fsa-prebuilt/auth-service-test.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ describe('AuthService', function () {
2626
describe('isAuthenicated', function () {
2727

2828
it('should return true if a Session exists', function () {
29-
Session.create('testID', {email: '[email protected]'});
29+
Session.create({email: '[email protected]'});
3030
expect(AuthService.isAuthenticated()).to.be.ok;
3131
});
3232

@@ -41,7 +41,7 @@ describe('AuthService', function () {
4141

4242
it('should return the user from the Session if already authenticated', function (done) {
4343
var x = {};
44-
Session.create('testID', x);
44+
Session.create(x);
4545
AuthService.getLoggedInUser().then(function (user) {
4646
expect(user).to.be.equal(x);
4747
done();
@@ -257,7 +257,7 @@ describe('AuthService', function () {
257257

258258
it('should destroy the session', function (done) {
259259

260-
Session.create('testID', { email: '[email protected]' });
260+
Session.create({ email: '[email protected]' });
261261

262262
AuthService.logout().then(function () {
263263
expect(Session.user).to.be.equal(null);
@@ -285,4 +285,4 @@ describe('AuthService', function () {
285285

286286
});
287287

288-
});
288+
});

0 commit comments

Comments
 (0)