Skip to content

Commit

Permalink
fix: Type update
Browse files Browse the repository at this point in the history
  • Loading branch information
DafyddLlyr committed Sep 27, 2023
1 parent 794d305 commit 7556c54
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions e2e/tests/api-driven/src/permissions/steps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Given("a teamAdmin is a member of a team", async function (this: CustomWorld) {
assert.ok(user, "User is not defined");
assert.strictEqual(user.teams.length, 1);
assert.strictEqual(user.teams[0].role, "teamEditor");
assert.strictEqual(user.teams[0].teamId, this.teamId1);
assert.strictEqual(user.teams[0].team.id, this.teamId1);

this.activeUser = this.user1;
});
Expand All @@ -56,7 +56,7 @@ Given(
assert.ok(user, "User is not defined");
assert.strictEqual(user.teams.length, 1);
assert.strictEqual(user.teams[0].role, "teamEditor");
assert.strictEqual(user.teams[0].teamId, this.teamId2);
assert.strictEqual(user.teams[0].team.id, this.teamId2);

this.activeUser = this.user2;
},
Expand Down

0 comments on commit 7556c54

Please sign in to comment.