Skip to content

Commit

Permalink
Merge pull request #7983 from stopfstedt/hawkwind_space_ritual
Browse files Browse the repository at this point in the history
corrects test assertions.
  • Loading branch information
jrjohnson authored Jul 18, 2024
2 parents a7bc94e + 937a990 commit 8934b92
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ module('Integration | Component | ilios calendar single event objective list', f
`);

assert.notOk(component.title.displayModeSwitcher.isVisible);
assert.ok(component.tree.domains.length, 2);
assert.strictEqual(component.tree.domains.length, 2);
});

test('collapsed by default', async function (assert) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -171,13 +171,13 @@ module('Integration | Component | taxonomy manager', function (hooks) {
assert.strictEqual(component.vocabulary.options[1].value, '2');
assert.strictEqual(component.vocabulary.options[1].text, 'Bar (Medicine)');

assert.ok(component.availableTerms.length, 2);
assert.strictEqual(component.availableTerms.length, 2);
assert.strictEqual(component.availableTerms[0].name, 'Alpha');
assert.strictEqual(component.availableTerms[1].name, 'Beta');

await component.vocabulary.set('2');

assert.ok(component.availableTerms.length, 1);
assert.strictEqual(component.availableTerms.length, 1);
assert.strictEqual(component.availableTerms[0].name, 'Gamma');
});

Expand Down Expand Up @@ -231,7 +231,7 @@ module('Integration | Component | taxonomy manager', function (hooks) {
assert.strictEqual(component.vocabulary.options.length, 2);
assert.notOk(component.vocabulary.options[0].isSelected);
assert.ok(component.vocabulary.options[1].isSelected);
assert.ok(component.availableTerms.length, 1);
assert.strictEqual(component.availableTerms.length, 1);
assert.strictEqual(component.availableTerms[0].name, 'Gamma');
});
});

0 comments on commit 8934b92

Please sign in to comment.