From 4f8a887a7b83ec2a8e54782c4db0d7e0f9ae67af Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 19 Aug 2026 17:14:12 +0000 Subject: [PATCH] fix(test): pass the now-required sessionGrants in RelayAuthReadFollowsTest MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit A semantic merge conflict: no textual overlap, but the two sides do not compile together. Making RelayAuthPermissionLedger.sessionGrants required (no default) updated every ledger construction its author could see. RelayAuthReadFollowsTest was not one of them — it arrived independently from main, so neither branch was broken on its own and git had nothing to flag. Merging them produced "No value passed for parameter 'sessionGrants'". Passes a fresh RelayAuthSessionGrants() like the sibling suites. A private set is right here: this test never exercises grants, it only needs a ledger. Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_01Rado2dnqpbCuCUyCd3trQz --- .../relayClient/authCommand/model/RelayAuthReadFollowsTest.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/amethyst/src/test/java/com/vitorpamplona/amethyst/service/relayClient/authCommand/model/RelayAuthReadFollowsTest.kt b/amethyst/src/test/java/com/vitorpamplona/amethyst/service/relayClient/authCommand/model/RelayAuthReadFollowsTest.kt index 4d41a8b9f3..407eba4297 100644 --- a/amethyst/src/test/java/com/vitorpamplona/amethyst/service/relayClient/authCommand/model/RelayAuthReadFollowsTest.kt +++ b/amethyst/src/test/java/com/vitorpamplona/amethyst/service/relayClient/authCommand/model/RelayAuthReadFollowsTest.kt @@ -62,6 +62,7 @@ class RelayAuthReadFollowsTest { RelayAuthPermissionLedger( store = NoStore(), globalPolicy = { RelayAuthPolicy.CUSTOM }, + sessionGrants = RelayAuthSessionGrants(), customToggles = { toggles }, isFollowed = { it == followed }, )