Skip to content

Commit fea31ff

Browse files
steve-chavezsoedirgo
authored andcommitted
chore: update to postgrest v9.0.1.20220802
Update tests
1 parent a68d7db commit fea31ff

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

test/__snapshots__/index.test.ts.snap

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1988,8 +1988,8 @@ Object {
19881988
"count": null,
19891989
"data": null,
19901990
"error": null,
1991-
"status": 200,
1992-
"statusText": "OK",
1991+
"status": 204,
1992+
"statusText": "No Content",
19931993
}
19941994
`;
19951995

@@ -2305,6 +2305,8 @@ Object {
23052305
23062306
exports[`throwOnError setting at the client level - rpc 1`] = `
23072307
Object {
2308+
"code": "PGRST202",
2309+
"details": null,
23082310
"hint": "If a new function was created in the database with this name and parameters, try reloading the schema cache.",
23092311
"message": "Could not find the public.missing_fn() function or the public.missing_fn function with a single unnamed json or jsonb parameter in the schema cache",
23102312
}

test/db/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
version: '3'
44
services:
55
rest:
6-
image: postgrest/postgrest:v9.0.0
6+
image: postgrest/postgrest:v9.0.1.20220802
77
ports:
88
- '3000:3000'
99
environment:

0 commit comments

Comments
 (0)