We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22cf11e commit e40ff2fCopy full SHA for e40ff2f
tests/routes/settings/tokens/new-test.js
@@ -58,6 +58,9 @@ module('/settings/tokens/new', function (hooks) {
58
59
let token = this.server.schema.apiTokens.findBy({ name: 'token-name' });
60
assert.ok(Boolean(token), 'API token has been created in the backend database');
61
+ assert.strictEqual(token.name, 'token-name');
62
+ assert.strictEqual(token.crateScopes, null);
63
+ assert.strictEqual(token.endpointScopes, null);
64
65
assert.strictEqual(currentURL(), '/settings/tokens');
66
assert.dom('[data-test-api-token="1"] [data-test-name]').hasText('token-name');
0 commit comments