Files
frontend-app-authn/src/recommendations/data/tests/mockedData.js
2024-04-01 01:33:50 -07:00

117 lines
2.5 KiB
JavaScript

const mockedRecommendedProducts = [
{
activeCourseRun: {
key: 'course-v1:TEST_COURSE_RUN',
type: 'test_course_run_type',
marketingUrl: 'test_marketingUrl',
},
activeRunKey: 'course-v1:TEST_COURSE_RUN',
recommendationType: 'personalized',
allowedIn: [],
blockedIn: [],
cardType: 'course',
courseType: 'course',
image: {
src: 'test_src',
},
owners: [
{
name: 'Test Org',
logoImageUrl: 'http://logourl.com',
},
],
title: 'test_title',
uuid: 'test_uuid',
objectID: 'course-test_uuid',
productSource: {
name: 'test_source',
},
},
{
activeCourseRun: {
key: 'course-v1:TEST_COURSE_RUN',
type: 'test_course_run_type',
marketingUrl: 'test_marketingUrl',
},
activeRunKey: 'course-v1:TEST_COURSE_RUN',
recommendationType: 'personalized',
allowedIn: [],
blockedIn: [],
cardType: 'course',
courseType: 'course',
image: {
src: 'test_src',
},
owners: [
{
name: 'Test Org',
logoImageUrl: 'http://logourl.com',
},
],
title: 'test_title',
uuid: 'test_uuid2',
objectID: 'course-test_uuid',
productSource: {
name: 'test_source',
},
},
{
activeCourseRun: {
key: 'course-v1:TEST_COURSE_RUN',
type: 'test_course_run_type',
marketingUrl: 'test_marketingUrl',
},
activeRunKey: 'course-v1:TEST_COURSE_RUN',
recommendationType: 'personalized',
allowedIn: [],
blockedIn: [],
cardType: 'course',
courseType: 'course',
image: {
src: 'test_src',
},
owners: [
{
name: 'Test Org',
logoImageUrl: 'http://logourl.com',
},
],
title: 'test_title',
uuid: 'test_uuid3',
objectID: 'course-test_uuid',
productSource: {
name: 'test_source',
},
},
{
activeCourseRun: {
key: 'course-v1:TEST_COURSE_RUN',
type: 'test_course_run_type',
marketingUrl: 'test_marketingUrl',
},
activeRunKey: 'course-v1:TEST_COURSE_RUN',
recommendationType: 'personalized',
allowedIn: [],
blockedIn: [],
cardType: 'course',
courseType: 'course',
image: {
src: 'test_src',
},
owners: [
{
name: 'Test Org',
logoImageUrl: 'http://logourl.com',
},
],
title: 'test_title',
uuid: 'test_uuid4',
objectID: 'course-test_uuid',
productSource: {
name: 'test_source',
},
},
];
export default mockedRecommendedProducts;