From b64c657c1d2a8d519eb1fb0be204d947e16e2628 Mon Sep 17 00:00:00 2001 From: Quintine <15965533+Quintine@users.noreply.github.com> Date: Tue, 27 Oct 2026 18:06:21 +1100 Subject: [PATCH] Fix recovery assertions for revoked seats --- tests/seat-recovery.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/seat-recovery.test.ts b/tests/seat-recovery.test.ts index 41ced30a..04edb670 100644 --- a/tests/seat-recovery.test.ts +++ b/tests/seat-recovery.test.ts @@ -376,7 +376,7 @@ void test('already-authenticated old actions and reads are fenced even at the la // Deliberately supply the fresh version: version protection alone must not pass this request. await assert.rejects( rooms.act(code, oldAuth, recovered.view.version, { type: 'ready' }), - /Another action/, + /Your seat could not be verified\./, ); await assert.rejects(rooms.readSeatView(code, oldAuth), /verified/); const newAuth = await rooms.authenticate(code, body.newSessionToken); @@ -715,7 +715,7 @@ void test('SQLite recovery distinct concurrent claims fence the loser and never ); await assert.rejects( f.rooms.act(f.code, winningAuth, later.view.version, { type: 'ready' }), - /Another action/, + /Your seat could not be verified\./, ); assert.equal(custodySnapshot(f.sqlite), afterLater); assert.equal(