diff --git a/tests/dummy/app/models/global-navigation.json b/tests/dummy/app/models/global-navigation.json index ea0518683..4171b4071 100644 --- a/tests/dummy/app/models/global-navigation.json +++ b/tests/dummy/app/models/global-navigation.json @@ -142,7 +142,7 @@ "tracking-label": "account.register" } }, - "services-domain": "https:\/\/services.wikia.com\/" + "services-domain": "https:\/\/services.fandom.com\/" }, "logged-in-default": { "logo": { @@ -336,7 +336,7 @@ "url": "\/\/starwars.wikia.com\/wiki\/User_talk:Ryba777" } }, - "services-domain": "https:\/\/services.wikia.com\/" + "services-domain": "https:\/\/services.fandom.com\/" }, "logged-out-wikia-org": { "logo": { @@ -417,6 +417,6 @@ "tracking-label": "account.register" } }, - "services-domain": "https:\/\/services.wikia.com\/" + "services-domain": "https:\/\/services.fandom.com\/" } } diff --git a/tests/dummy/app/services/fetch.js b/tests/dummy/app/services/fetch.js index 889a14e76..cea31bfeb 100644 --- a/tests/dummy/app/services/fetch.js +++ b/tests/dummy/app/services/fetch.js @@ -3,7 +3,7 @@ import fetch from '@wikia/ember-fandom/services/fetch'; export default fetch.extend({ init() { this.set('config', { - servicesExternalHost: 'https://services.wikia.com' + servicesExternalHost: 'https://services.fandom.com' }); this._super(...arguments); } diff --git a/tests/dummy/app/templates/identity/api.hbs b/tests/dummy/app/templates/identity/api.hbs index 713b5cc37..98150e5ca 100644 --- a/tests/dummy/app/templates/identity/api.hbs +++ b/tests/dummy/app/templates/identity/api.hbs @@ -93,7 +93,7 @@

API returns different content for logged in and anon users. In order to authenticate a request to API you have to add access_token cookie in request headers. Correct access_token value can be obtained in Auth service after providing correct credentials. diff --git a/tests/dummy/mirage/config.js b/tests/dummy/mirage/config.js index 706d03594..aefd58d29 100644 --- a/tests/dummy/mirage/config.js +++ b/tests/dummy/mirage/config.js @@ -28,7 +28,7 @@ export default function () { this.passthrough('/svg/**'); - this.get('https://services.wikia.com/on-site-notifications/notifications/unread-count', () => { + this.get('https://services.fandom.com/on-site-notifications/notifications/unread-count', () => { return { "unreadCount": 1, "_links": { "notificationsUrl": "/notifications?startingTimestamp=2018-06-01T10:44:13.309Z" } @@ -45,7 +45,7 @@ export default function () { }; }); - this.get('https://services.wikia.com/on-site-notifications/notifications', () => { + this.get('https://services.fandom.com/on-site-notifications/notifications', () => { return { "notifications": [ { diff --git a/tests/unit/models/wds-on-site-notifications/wds-on-site-notification-test.js b/tests/unit/models/wds-on-site-notifications/wds-on-site-notification-test.js index 419872010..4983d163c 100644 --- a/tests/unit/models/wds-on-site-notifications/wds-on-site-notification-test.js +++ b/tests/unit/models/wds-on-site-notifications/wds-on-site-notification-test.js @@ -21,7 +21,7 @@ function getNotificationStub() { type: 'announcement-notification', community: { id: '1308778', name: 'Rybatest Wikia' }, refersTo: { - uri: 'https://services.wikia.com/announcements/announcements/3808', + uri: 'https://services.fandom.com/announcements/announcements/3808', createdBy: '4083617', type: 'announcement', snippet: 'Hey Been trying to meet you!', @@ -76,7 +76,7 @@ module( assert.equal(notification.snippet, 'Hey Been trying to meet you!'); assert.equal( notification.uri, - 'https://services.wikia.com/announcements/announcements/3808', + 'https://services.fandom.com/announcements/announcements/3808', ); assert.equal( notification.latestEventUri, @@ -231,7 +231,7 @@ module( assert.equal(uri, '/notifications/mark-as-read/by-uri'); assert.deepEqual(options, { body: - '["https://services.wikia.com/announcements/announcements/3808"]', + '["https://services.fandom.com/announcements/announcements/3808"]', headers: { 'Content-Type': 'application/json', }, @@ -256,7 +256,7 @@ module( assert.equal(uri, '/notifications/mark-as-read/by-uri'); assert.deepEqual(options, { body: - '["https://services.wikia.com/announcements/announcements/3808"]', + '["https://services.fandom.com/announcements/announcements/3808"]', headers: { 'Content-Type': 'application/json', },