Skip to content

Commit a4b6959

Browse files
committed
tests/acceptance/logout: Migrate from mirage to @crates-io/msw
1 parent c773e65 commit a4b6959

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/acceptance/logout-test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ import { setupWindowMock } from 'ember-window-mock/test-support';
77
import { setupApplicationTest } from 'crates-io/tests/helpers';
88

99
module('Acceptance | Logout', function (hooks) {
10-
setupApplicationTest(hooks);
10+
setupApplicationTest(hooks, { msw: true });
1111
setupWindowMock(hooks);
1212

1313
test('successful logout', async function (assert) {
14-
let user = this.server.create('user', { name: 'John Doe' });
14+
let user = this.db.user.create({ name: 'John Doe' });
1515
this.authenticateAs(user);
1616

1717
await visit('/crates');

0 commit comments

Comments
 (0)