Skip to content
This repository has been archived by the owner on Feb 5, 2024. It is now read-only.

Commit

Permalink
chore: rename var
Browse files Browse the repository at this point in the history
  • Loading branch information
ludverst committed May 10, 2023
1 parent 020173d commit b64529a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions api/__tests__/routes/region.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ describe("Region tests", () => {
});

runner.authLevel(AuthenticationLevel.SUPER_STUDENT);
// verify that the region is soft truly deleted (superstudent)
// verify that the region is soft deleted (superstudent)
const expectedSuperStudent = [
{
deleted: false,
Expand Down Expand Up @@ -241,10 +241,10 @@ describe("Region tests", () => {

test("DELETE /region/:id", async () => {
runner.authLevel(AuthenticationLevel.ADMINISTRATOR);
const regionSoft = {
const regionHard = {
hardDelete: true,
};
await runner.delete({ url: "/region/3", data: regionSoft });
await runner.delete({ url: "/region/3", data: regionHard });

// verify that the region is truly deleted
const expected = [
Expand Down

0 comments on commit b64529a

Please sign in to comment.