From 82305b24011dc9eeb336d16b570e191e0321604d Mon Sep 17 00:00:00 2001 From: Xavier Carron <33637571+xav-car@users.noreply.github.com> Date: Tue, 19 Nov 2024 16:17:37 +0100 Subject: [PATCH] tech(api): migrate sco serializer --- .../jsonapi/sco-organization-learner-serializer.js | 0 .../jsonapi/sco-organization-learner-serializer_test.js | 6 +++--- 2 files changed, 3 insertions(+), 3 deletions(-) rename api/{lib => src/prescription/learner-management}/infrastructure/serializers/jsonapi/sco-organization-learner-serializer.js (100%) rename api/tests/{ => prescription/learner-management}/unit/infrastructure/serializers/jsonapi/sco-organization-learner-serializer_test.js (91%) diff --git a/api/lib/infrastructure/serializers/jsonapi/sco-organization-learner-serializer.js b/api/src/prescription/learner-management/infrastructure/serializers/jsonapi/sco-organization-learner-serializer.js similarity index 100% rename from api/lib/infrastructure/serializers/jsonapi/sco-organization-learner-serializer.js rename to api/src/prescription/learner-management/infrastructure/serializers/jsonapi/sco-organization-learner-serializer.js diff --git a/api/tests/unit/infrastructure/serializers/jsonapi/sco-organization-learner-serializer_test.js b/api/tests/prescription/learner-management/unit/infrastructure/serializers/jsonapi/sco-organization-learner-serializer_test.js similarity index 91% rename from api/tests/unit/infrastructure/serializers/jsonapi/sco-organization-learner-serializer_test.js rename to api/tests/prescription/learner-management/unit/infrastructure/serializers/jsonapi/sco-organization-learner-serializer_test.js index e502912d97e..23f1af97297 100644 --- a/api/tests/unit/infrastructure/serializers/jsonapi/sco-organization-learner-serializer_test.js +++ b/api/tests/prescription/learner-management/unit/infrastructure/serializers/jsonapi/sco-organization-learner-serializer_test.js @@ -1,6 +1,6 @@ -import * as serializer from '../../../../../lib/infrastructure/serializers/jsonapi/sco-organization-learner-serializer.js'; -import { OrganizationLearner } from '../../../../../src/shared/domain/models/index.js'; -import { expect } from '../../../../test-helper.js'; +import * as serializer from '../../../../../../../src/prescription/learner-management/infrastructure/serializers/jsonapi/sco-organization-learner-serializer.js'; +import { OrganizationLearner } from '../../../../../../../src/shared/domain/models/index.js'; +import { expect } from '../../../../../../test-helper.js'; describe('Unit | Serializer | JSONAPI | sco-organization-learner-serializer', function () { describe('#serializeIdentity', function () {