Skip to content

Commit

Permalink
test: fix session pinning assertions
Browse files Browse the repository at this point in the history
  • Loading branch information
durran committed Jul 29, 2021
1 parent 6b928bc commit 453fc4c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/functional/unified-spec-runner/operations.ts
Expand Up @@ -127,12 +127,12 @@ operations.set('assertSessionNotDirty', async ({ entities, operation }) => {
});

operations.set('assertSessionPinned', async ({ entities, operation }) => {
const session = entities.getEntity('session', operation.arguments.session);
const session = operation.arguments.session;
expect(session.isPinned, 'session should be pinned').to.be.true;
});

operations.set('assertSessionUnpinned', async ({ entities, operation }) => {
const session = entities.getEntity('session', operation.arguments.session);
const session = operation.arguments.session;
expect(session.isPinned, 'session should be unpinned').to.be.false;
});

Expand Down

0 comments on commit 453fc4c

Please sign in to comment.