Skip to content

Commit

Permalink
chore(tests): update fixture uuids (#313)
Browse files Browse the repository at this point in the history
  • Loading branch information
nd0ut authored Mar 17, 2021
1 parent 9e10999 commit 5aeb32c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions test/_fixtureFactory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ const pubkey = (): string =>
const uuids: { [key: string]: { publicKey: string; uuid: string } } = {
image: {
publicKey: pubkey(),
uuid: '640b5b93-f27f-4833-be9d-7eaee35817ce'
uuid: 'd29256ec-fec3-4a40-be4c-fdbce44bbb4b'
},
token: {
publicKey: pubkey(),
uuid: '640b5b93-f27f-4833-be9d-7eaee35817ce'
uuid: 'd29256ec-fec3-4a40-be4c-fdbce44bbb4b'
},
demo: {
publicKey: 'demopublickey',
Expand Down Expand Up @@ -131,7 +131,7 @@ export function publicKey(id: string): string {

export function imageUrl(id: string): string {
const images = {
valid: `${settings.baseCDN}/640b5b93-f27f-4833-be9d-7eaee35817ce/20200721174713.png`,
valid: `${settings.baseCDN}/d29256ec-fec3-4a40-be4c-fdbce44bbb4b/20200721174713.png`,
doesNotExist: 'https://1.com/1.jpg',
privateIP: 'http://192.168.1.10/1.jpg'
}
Expand All @@ -141,7 +141,7 @@ export function imageUrl(id: string): string {

export function token(id: string): string {
const tokens = {
valid: '640b5b93-f27f-4833-be9d-7eaee35817ce',
valid: 'd29256ec-fec3-4a40-be4c-fdbce44bbb4b',
empty: ''
}

Expand All @@ -160,8 +160,8 @@ export function groupId(id: string): string {
export function groupOfFiles(id: string): Array<string> {
const groupOfFiles = {
valid: [
'359f0553-5f81-4d65-a7ac-726e78010bf6',
'640b5b93-f27f-4833-be9d-7eaee35817ce'
'2a3e35b2-d4b6-4a03-8ff1-0fc731342375',
'0993d4c5-d5bb-47f9-ab5f-8c60e12124d4'
],
invalid: [
'2e6b7f23-9143-4b71-94e7-338bb',
Expand Down

0 comments on commit 5aeb32c

Please sign in to comment.