Skip to content

Commit 469efe8

Browse files
committed
[grid] Fixing node options test
1 parent 2368f7a commit 469efe8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

java/server/test/org/openqa/selenium/grid/node/config/NodeOptionsTest.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ public void canConfigureNodeWithoutDriverDetection() {
156156
}
157157

158158
@Test
159-
public void doNotDetectDriversByDefault() {
159+
public void detectDriversByDefault() {
160160
Config config = new MapConfig(emptyMap());
161161

162162
List<WebDriverInfo> reported = new ArrayList<>();
@@ -165,7 +165,7 @@ public void doNotDetectDriversByDefault() {
165165
return Collections.emptySet();
166166
});
167167

168-
assertThat(reported).isEmpty();
168+
assertThat(reported).isNotEmpty();
169169
}
170170

171171
@Test

0 commit comments

Comments
 (0)