Skip to content

Commit 3d190f1

Browse files
committed
fix: update delete request to expect 200.
1 parent 3f74e87 commit 3d190f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/database/foxx/tests/schema_router.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ describe("schema router", () => {
124124
`${schema_base_url}/delete?client=u/fakeUser&id=test_schema_1:1`,
125125
);
126126

127-
expect(response.status).to.equal(204);
127+
expect(response.status).to.equal(200);
128128

129129
const deleted = db.sch.firstExample({ id: "test_schema_1", ver: 1 });
130130
expect(deleted).to.equal(null);

0 commit comments

Comments
 (0)