Skip to content

Commit f3e014b

Browse files
committed
Small testing updates
1 parent d64303f commit f3e014b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: validator/api/src/test/java/tech/pegasys/teku/validator/api/GraffitiManagerTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ private void checkGraffitiFile(final BLSPublicKey publicKey, final String graffi
156156
final Bytes32 parsedBytes = GraffitiParser.loadFromFile(filePath);
157157
assertThat(parsedBytes).isEqualTo(expectedBytes);
158158
} catch (GraffitiLoaderException e) {
159-
fail(e.getMessage());
159+
fail(e.toString());
160160
}
161161
}
162162

Diff for: validator/api/src/test/java/tech/pegasys/teku/validator/api/UpdatableGraffitiProviderTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ void get_shouldGetStorageGraffitiWhenAvailable(@TempDir final Path tempDir) thro
7171
}
7272

7373
@Test
74-
void get_shouldUseDefaultProviderWhenGraffitiTooLong(@TempDir final Path tempDir)
74+
void get_shouldUseDefaultProviderWhenStoredGraffitiTooLong(@TempDir final Path tempDir)
7575
throws IOException {
7676
dataDirLayout = new SimpleDataDirLayout(tempDir);
7777
provider = new UpdatableGraffitiProvider(dataDirLayout, publicKey, defaultProvider);

0 commit comments

Comments
 (0)