Skip to content

Commit 0d56afd

Browse files
committed
fix test license ids
1 parent 0a5377f commit 0d56afd

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed

cli/testdata/cmd_add_pooled.test.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,18 @@ exec relay ls --pool prod --plain
1515

1616
# expect only the prod pool license
1717
stdout 'dcea31a4-1664-4633-9f52-4a1b0b5ea2ef'
18-
! stdout 'e9b6f649-d8c2-49e3-9d41-aab32f0d08a3'
18+
! stdout '592d08c2-4045-462c-a981-dcd2bb78ce06'
1919

20-
# list licenses in dev pool
20+
# list licenses in dev pool
2121
exec relay ls --pool dev --plain
2222

2323
# expect only the dev pool license
24-
stdout 'e9b6f649-d8c2-49e3-9d41-aab32f0d08a3'
24+
stdout '592d08c2-4045-462c-a981-dcd2bb78ce06'
2525
! stdout 'dcea31a4-1664-4633-9f52-4a1b0b5ea2ef'
2626

2727
# list all licenses (no pool specified)
2828
exec relay ls --plain
2929

3030
# expect all licenses to be listed
3131
stdout 'dcea31a4-1664-4633-9f52-4a1b0b5ea2ef'
32-
stdout 'e9b6f649-d8c2-49e3-9d41-aab32f0d08a3'
32+
stdout '592d08c2-4045-462c-a981-dcd2bb78ce06'

cli/testdata/cmd_del_pooled.test.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ exec relay add --pool dev --file license_2.lic --key 9A96B8-FD08CD-8C433B-7657C8
77
# confirm both licenses are added
88
exec relay ls --plain
99
stdout 'dcea31a4-1664-4633-9f52-4a1b0b5ea2ef'
10-
stdout 'e9b6f649-d8c2-49e3-9d41-aab32f0d08a3'
10+
stdout '592d08c2-4045-462c-a981-dcd2bb78ce06'
1111

1212
# delete license from prod pool using GUID
1313
exec relay del --license dcea31a4-1664-4633-9f52-4a1b0b5ea2ef
@@ -21,14 +21,14 @@ stdout 'license pool is empty'
2121

2222
# verify the dev pool license still exists
2323
exec relay ls --pool dev --plain
24-
stdout 'e9b6f649-d8c2-49e3-9d41-aab32f0d08a3'
24+
stdout '592d08c2-4045-462c-a981-dcd2bb78ce06'
2525

2626
# delete license from dev pool using GUID
27-
exec relay del --license e9b6f649-d8c2-49e3-9d41-aab32f0d08a3
27+
exec relay del --license 592d08c2-4045-462c-a981-dcd2bb78ce06
2828

2929
# expect output indicating success
3030
stdout 'license deleted successfully'
3131

3232
# verify both pools are now empty
3333
exec relay ls --plain
34-
stdout 'license pool is empty'
34+
stdout 'license pool is empty'

cli/testdata/cmd_ls_pooled.test.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,24 +7,24 @@ exec relay ls --pool prod --plain
77

88
# should show only the prod license
99
stdout 'dcea31a4-1664-4633-9f52-4a1b0b5ea2ef'
10-
! stdout 'e9b6f649-d8c2-49e3-9d41-aab32f0d08a3'
10+
! stdout '592d08c2-4045-462c-a981-dcd2bb78ce06'
1111

12-
# list licenses in dev pool only
12+
# list licenses in dev pool only
1313
exec relay ls --pool dev --plain
1414

1515
# should show only the dev license
16-
stdout 'e9b6f649-d8c2-49e3-9d41-aab32f0d08a3'
16+
stdout '592d08c2-4045-462c-a981-dcd2bb78ce06'
1717
! stdout 'dcea31a4-1664-4633-9f52-4a1b0b5ea2ef'
1818

1919
# list all licenses (no pool filter)
2020
exec relay ls --plain
2121

2222
# should show both licenses
2323
stdout 'dcea31a4-1664-4633-9f52-4a1b0b5ea2ef'
24-
stdout 'e9b6f649-d8c2-49e3-9d41-aab32f0d08a3'
24+
stdout '592d08c2-4045-462c-a981-dcd2bb78ce06'
2525

2626
# list licenses from non-existent pool
2727
exec relay ls --pool nonexistent --plain
2828

2929
# should show pool not found error
30-
stderr 'error: pool not found'
30+
stderr 'error: pool not found'

0 commit comments

Comments
 (0)