Skip to content

Commit 1374c3e

Browse files
fix test
1 parent 789b5e3 commit 1374c3e

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

‎src/community-web/students/update.test.ts‎

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,5 @@ import { updateStudent } from "./update";
22
import { test, testAuthWriteApi } from "src/testUtils";
33

44
test("update student", async () => {
5-
await testAuthWriteApi(
6-
() =>
7-
updateStudent("MALE", false, "测试用户", Date.now(), "", "", "", "", ""),
8-
{},
9-
);
5+
await testAuthWriteApi(() => updateStudent({}), {});
106
});

0 commit comments

Comments
 (0)