Skip to content

Commit ee6c90b

Browse files
authored
chore: fix bundle test after add copilot-main-resized (#7733)
1 parent 64d9f65 commit ee6c90b

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

vaadin-dev-bundle/src/test/java/com/vaadin/devbundle/BundleTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public void usageStatsIncluded() throws IOException {
3030
public void copilotIncluded() throws IOException {
3131
String needle = "copilot-main";
3232
int foundInFiles = findInBundleBuildFolder(line -> line.contains(needle)
33-
&& !line.contains("document.querySelector"));
33+
&& !line.contains("document.querySelector")&& !line.contains("copilot-main-resized"));
3434
Assertions.assertEquals(1, foundInFiles,
3535
"The key '" + needle + "' should be found in one file");
3636
}

vaadin-hybrid-dev-bundle/src/test/java/com/vaadin/devbundle/BundleTest.java renamed to vaadin-hybrid-dev-bundle/src/test/java/com/vaadin/devbundle/HybridBundleTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
import org.junit.jupiter.api.Assertions;
1717
import org.junit.jupiter.api.Test;
1818

19-
public class BundleTest {
19+
public class HybridBundleTest {
2020

2121
@Test
2222
public void usageStatsIncluded() throws IOException {
@@ -31,7 +31,7 @@ public void usageStatsIncluded() throws IOException {
3131
public void copilotIncluded() throws IOException {
3232
String needle = "copilot-main";
3333
int foundInFiles = findInBundleBuildFolder(line -> line.contains(needle)
34-
&& !line.contains("document.querySelector"));
34+
&& !line.contains("document.querySelector")&& !line.contains("copilot-main-resized"));
3535
Assertions.assertEquals(1, foundInFiles,
3636
"The key '" + needle + "' should be found in one file");
3737
}

versions.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@
396396
"javaVersion": "1.3.0.beta3"
397397
},
398398
"copilot": {
399-
"javaVersion": "24.8.0.rc1"
399+
"javaVersion": "25.0-SNAPSHOT"
400400
},
401401
"kubernetes-kit-starter": {
402402
"javaVersion": "2.4.2"

0 commit comments

Comments
 (0)