Skip to content

Commit d9bc3c3

Browse files
fix(deps): update dependency io.cucumber:messages to v27 (#335)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: M.P. Korstanje <[email protected]>
1 parent 5d9b8ae commit d9bc3c3

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

java/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
<dependency>
5252
<groupId>io.cucumber</groupId>
5353
<artifactId>messages</artifactId>
54-
<version>[18.0.0,27.0.0)</version>
54+
<version>[18.0.0,28.0.0)</version>
5555
</dependency>
5656

5757
<dependency>

java/src/test/java/io/cucumber/htmlformatter/MessagesToHtmlWriterTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class MessagesToHtmlWriterTest {
3232
@Test
3333
void it_writes_one_message_to_html() throws IOException {
3434
Instant timestamp = Instant.ofEpochSecond(10);
35-
Envelope envelope = Envelope.of(new TestRunStarted(Convertor.toMessage(timestamp)));
35+
Envelope envelope = Envelope.of(new TestRunStarted(Convertor.toMessage(timestamp), null));
3636
String html = renderAsHtml(envelope);
3737
assertThat(html, containsString("" +
3838
"window.CUCUMBER_MESSAGES = [{\"testRunStarted\":{\"timestamp\":{\"seconds\":10,\"nanos\":0}}}];"));
@@ -79,9 +79,9 @@ public void close() throws IOException {
7979

8080
@Test
8181
void it_writes_two_messages_separated_by_a_comma() throws IOException {
82-
Envelope testRunStarted = Envelope.of(new TestRunStarted(Convertor.toMessage(Instant.ofEpochSecond(10))));
82+
Envelope testRunStarted = Envelope.of(new TestRunStarted(Convertor.toMessage(Instant.ofEpochSecond(10)), null));
8383

84-
Envelope envelope = Envelope.of(new TestRunFinished(null, true, Convertor.toMessage(Instant.ofEpochSecond(15)), null));
84+
Envelope envelope = Envelope.of(new TestRunFinished(null, true, Convertor.toMessage(Instant.ofEpochSecond(15)), null, null));
8585

8686
String html = renderAsHtml(testRunStarted, envelope);
8787

0 commit comments

Comments
 (0)