Use compositeType in isAws and isAzure

This commit is contained in:
Carlos Alcaide Corvo committed 2022-01-14 13:14:50 -08:00
1 parent 4c0cc5375b
commit cc20e5a076
2 files changed
+5 -3

No files matched your search

@@ -34,6 +34,7 @@ module('Unit | Model | host catalog', function (hooks) {
assert.expect(3);
const store = this.owner.lookup('service:store');
const modelAws = store.createRecord('host-catalog', {
type: 'plugin',
plugin: { name: 'aws' },
});
const modelRandom = store.createRecord('host-catalog', {
@@ -48,6 +49,7 @@ module('Unit | Model | host catalog', function (hooks) {
assert.expect(3);
const store = this.owner.lookup('service:store');
const modelAzure = store.createRecord('host-catalog', {
type: 'plugin',
plugin: { name: 'azure' },
});
const modelRandom = store.createRecord('host-catalog', {