Skip to content

Commit cd36422

Browse files
committed
More fix to tests
1 parent 8317224 commit cd36422

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/multi_schema.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,19 +42,19 @@ async fn write_other_schema() -> Result<(), Box<dyn Error>> {
4242
let resp = client
4343
.from("users")
4444
.select("status")
45-
.eq("username", "dragarcia")
45+
.eq("username", "supabot")
4646
.execute()
4747
.await?;
4848
let body = resp.text().await?;
4949
let body = json::parse(&body)?;
5050

51-
assert_eq!(body[0]["status"], "OFFLINE");
51+
assert_eq!(body[0]["status"], "ONLINE");
5252

5353
let other_client = Postgrest::new(REST_URL).schema("personal");
5454
let other_resp = other_client
5555
.from("users")
5656
.update("{\"status\": \"OFFLINE\"}")
57-
.eq("username", "dragarcia")
57+
.eq("username", "supabot")
5858
.execute()
5959
.await?;
6060
let other_body = other_resp.text().await?;

0 commit comments

Comments
 (0)