Skip to content

Commit

Permalink
remove garbage test
Browse files Browse the repository at this point in the history
  • Loading branch information
pontussjostedt committed Dec 4, 2023
1 parent 791beb8 commit fb0ed39
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions test/integration/access.api.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -237,19 +237,6 @@ describe('setting/getting access for user', () => {
await setGetTest(setAccess(accessMultipleInput), getAccess, expectedAccess);
});

//This seems kinda iffy
it('getting all access users', async () => {
const accessUsers = await getAllIndividualAccessUsers();

const usernamesToCheck = ['aa0000bb-s', username0]; // Add usernames to check

expect(accessUsers).toEqual(
expect.arrayContaining(
usernamesToCheck.map((username) => expect.objectContaining({ username })),
),
);
});

it('removing access', async () => {
await setGetTest(setAccess(emptyAccess), getAccess, []);
});
Expand Down

0 comments on commit fb0ed39

Please sign in to comment.