forked from fahrPool/fahrPool
docs: fix invalid hex digit in readonly test-fixture UUID (r -> 0)
This commit is contained in:
parent
dd725b5027
commit
e52a499b71
|
|
@ -433,7 +433,7 @@ insert into auth.users (id, email) values
|
||||||
('d2222222-2222-2222-2222-222222222222', 'disponent@auftraege.test.local'),
|
('d2222222-2222-2222-2222-222222222222', 'disponent@auftraege.test.local'),
|
||||||
('f3333333-3333-3333-3333-333333333333', 'fahrer-eins@auftraege.test.local'),
|
('f3333333-3333-3333-3333-333333333333', 'fahrer-eins@auftraege.test.local'),
|
||||||
('f4444444-4444-4444-4444-444444444444', 'fahrer-zwei@auftraege.test.local'),
|
('f4444444-4444-4444-4444-444444444444', 'fahrer-zwei@auftraege.test.local'),
|
||||||
('r5555555-5555-5555-5555-555555555555', 'readonly@auftraege.test.local');
|
('05555555-5555-5555-5555-555555555555', 'readonly@auftraege.test.local');
|
||||||
|
|
||||||
update public.profiles set role = 'admin' where id = 'a1111111-1111-1111-1111-111111111111';
|
update public.profiles set role = 'admin' where id = 'a1111111-1111-1111-1111-111111111111';
|
||||||
update public.profiles set role = 'disponent' where id = 'd2222222-2222-2222-2222-222222222222';
|
update public.profiles set role = 'disponent' where id = 'd2222222-2222-2222-2222-222222222222';
|
||||||
|
|
@ -487,12 +487,12 @@ select results_eq(
|
||||||
|
|
||||||
reset role;
|
reset role;
|
||||||
set local role authenticated;
|
set local role authenticated;
|
||||||
set local request.jwt.claims to '{"sub": "r5555555-5555-5555-5555-555555555555", "role": "authenticated"}';
|
set local request.jwt.claims to '{"sub": "05555555-5555-5555-5555-555555555555", "role": "authenticated"}';
|
||||||
|
|
||||||
select is_empty(
|
select is_empty(
|
||||||
$$
|
$$
|
||||||
update public.auftraege
|
update public.auftraege
|
||||||
set status = 'zugewiesen', zugewiesen_an = 'r5555555-5555-5555-5555-555555555555', start_zeit = now()
|
set status = 'zugewiesen', zugewiesen_an = '05555555-5555-5555-5555-555555555555', start_zeit = now()
|
||||||
where id = '10000000-0000-0000-0000-000000000001' and status = 'offen'
|
where id = '10000000-0000-0000-0000-000000000001' and status = 'offen'
|
||||||
returning id
|
returning id
|
||||||
$$,
|
$$,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue