diff --git a/tests/scenarios/static-app-test.ts b/tests/scenarios/static-app-test.ts index d1d359036..413c97247 100644 --- a/tests/scenarios/static-app-test.ts +++ b/tests/scenarios/static-app-test.ts @@ -19,7 +19,7 @@ appScenarios import JSONAPIAdapter from '@ember-data/adapter/json-api'; export default class PostAdapter extends JSONAPIAdapter { findRecord(store, type, id, snapshot) { - return { data: { type: 'posts', id: '0 ', attributes: { title: 'Hello world' } } }; + return { data: { type: 'posts', id: '0', attributes: { title: 'Hello world' } } }; } } `, @@ -90,6 +90,12 @@ appScenarios } `, }, + serializers: { + 'application.js': ` + import JSONAPISerializer from '@ember-data/serializer/json-api'; + export default class extends JSONAPISerializer {}; + `, + }, templates: { components: { 'default-title.hbs': `