diff --git a/src/entity/world/Worlds.ts b/src/entity/world/Worlds.ts index e4a04cc..dcac5c9 100644 --- a/src/entity/world/Worlds.ts +++ b/src/entity/world/Worlds.ts @@ -48,6 +48,9 @@ export default class Worlds { case 2: region = Region.Europe break + case 3: + region = Region.Oceania + break default: throw Error('Could not find matching region') } diff --git a/src/entity/world/__tests__/Worlds.test.ts b/src/entity/world/__tests__/Worlds.test.ts index 86be37a..287f66d 100644 --- a/src/entity/world/__tests__/Worlds.test.ts +++ b/src/entity/world/__tests__/Worlds.test.ts @@ -45,11 +45,11 @@ describe('Worlds', () => { }) it('should return an array of servers of expected length', () => { - expect(resultantServers.servers.length).toEqual(68) + expect(resultantServers.servers.length).toEqual(73) }) it('should return array of data centers of expected length', () => { - expect(resultantServers.dataCenters.length).toEqual(8) + expect(resultantServers.dataCenters.length).toEqual(9) }) describe('when status is not requested', () => { @@ -77,9 +77,10 @@ describe('Worlds', () => { }) describe.each([ - ['Cerberus', 'Chaos', 'Europe', WorldCategory.Standard, WorldStatus.CreationOfNewCharactersUnavailable], - ['Ridill', 'Gaia', 'Japan', WorldCategory.Preferred, WorldStatus.CreationOfNewCharacters], - ['Siren', 'Aether', 'North America', WorldCategory.Standard, WorldStatus.CreationOfNewCharacters], + ['Cerberus', 'Chaos', 'Europe', WorldCategory.Congested, WorldStatus.CreationOfNewCharactersUnavailable], + ['Ridill', 'Gaia', 'Japan', WorldCategory.Standard, WorldStatus.CreationOfNewCharactersUnavailable], + ['Ultros', 'Primal', 'North America', WorldCategory.Standard, WorldStatus.CreationOfNewCharacters], + ['Bismarck', 'Materia', 'Oceania', WorldCategory.New, WorldStatus.CreationOfNewCharacters], ])('servers array should contain %s', (serverName, dataCenter, region, category, status) => { let foundServer: World | undefined diff --git a/src/entity/world/__tests__/resources/worldstatus.html b/src/entity/world/__tests__/resources/worldstatus.html index c975e6d..4599ea4 100644 --- a/src/entity/world/__tests__/resources/worldstatus.html +++ b/src/entity/world/__tests__/resources/worldstatus.html @@ -29,15 +29,15 @@
The icons next to each World name indicate the server status.
For an explanation on server status, please refer to On World Classifications.
Preferred
+Standard
Preferred
+Congested
Standard
+Congested
Standard
+Congested
Preferred
+Standard
Standard
+Congested
Preferred
+Standard
Preferred
+Standard
Preferred
+Standard
Preferred
+Standard
Preferred
+Congested
Standard
+Congested
Preferred
+Standard
Preferred
+Congested
Standard
+Congested
Standard
+Congested
Standard
+Congested
Standard
+Congested
Standard
+Congested
Standard
+Congested
Standard
+Congested
Standard
+Congested
Standard
+Congested
Standard
+Congested
Standard
+Congested
Standard
+Congested
Standard
+Congested
Standard
+Congested
Standard
+Congested
Standard
+Congested
Standard
+Congested
Bismarck
+ +New
+Ravana
+ +New
+Sephirot
+ +New
+Sophia
+ +New
+Zurvan
+ +New
+* New characters cannot be created on Congested Servers.
*The creation of new characters may also be restricted on other Servers, depending on the level of congestion.
* New characters cannot be created on Congested Worlds.
*The creation of new characters may also be restricted on other Worlds, depending on the level of congestion.