From 6819d164541dea39bb41b605cf6f48e0f7b69f85 Mon Sep 17 00:00:00 2001 From: runnerboy22 Date: Thu, 8 Jul 2021 19:46:26 -0700 Subject: [PATCH] modernized to class-based model definitions --- .../-ember-data/tests/integration/adapter/serialize-test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/-ember-data/tests/integration/adapter/serialize-test.js b/packages/-ember-data/tests/integration/adapter/serialize-test.js index 0642c2539e5..ed325c9ca8d 100644 --- a/packages/-ember-data/tests/integration/adapter/serialize-test.js +++ b/packages/-ember-data/tests/integration/adapter/serialize-test.js @@ -12,7 +12,7 @@ module('integration/adapter/serialize - DS.Adapter integration test', function ( test('serialize() is delegated to the serializer', function (assert) { assert.expect(1); - const Person = Model.extend(); + class Person extends Model {} this.owner.register('model:person', Person); this.owner.register('adapter:application', Adapter.extend());