Skip to content

Commit 3b1b577

Browse files
committed
fix(test): Update TUF client test for public good signing config v0.2
Signed-off-by: Aaron Lew <[email protected]>
1 parent 4b7a49e commit 3b1b577

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

sigstore-java/src/test/java/dev/sigstore/tuf/SigstoreTufClientTest.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,16 +49,15 @@ public void testUpdate_publicGoodHasTrustedRootJson() throws Exception {
4949
}
5050

5151
@Test
52-
public void testUpdate_publicGoodNoSigningConfigV02() throws Exception {
52+
public void testUpdate_publicGoodHasSigningConfigV02() throws Exception {
5353
var client =
5454
SigstoreTufClient.builder()
5555
.usePublicGoodInstance()
5656
.tufCacheLocation(localStorePath)
5757
.build();
5858
client.forceUpdate();
5959

60-
// TODO: change this when we publish new signing config to public good
61-
Assertions.assertNull(client.getSigstoreSigningConfig());
60+
assertSigningConfigValid(client.getSigstoreSigningConfig());
6261
}
6362

6463
@Test

0 commit comments

Comments
 (0)