Skip to content

Commit

Permalink
Fixed timja-bot HtmlUnit PR
Browse files Browse the repository at this point in the history
- bumped jenkins versionto minimal viable
- reverted getValue x getValueAttribute where getValue was not
  applicable
  • Loading branch information
judovana committed Jun 5, 2023
1 parent ea0b325 commit 0c7536c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Expand Up @@ -7,7 +7,7 @@
<relativePath />
</parent>
<properties>
<jenkins.version>2.341</jenkins.version>
<jenkins.version>2.361</jenkins.version>
</properties>

<artifactId>nested-view</artifactId>
Expand Down
6 changes: 3 additions & 3 deletions src/test/java/hudson/plugins/nested_view/NestedViewTest.java
Expand Up @@ -105,9 +105,9 @@ public void test() throws Exception {
// Now set a default subview
form = wc.goTo("view/test-nest/configure").getFormByName("viewConfig");
List<HtmlOption> options = form.getSelectByName("defaultView").getOptions();
assertEquals("", options.get(0).getValue());
assertEquals("suball", options.get(1).getValue());
assertEquals("subview", options.get(2).getValue());
assertEquals("", options.get(0).getValueAttribute());
assertEquals("suball", options.get(1).getValueAttribute());
assertEquals("subview", options.get(2).getValueAttribute());
// "None" and 2 views in alphabetical order; subnest should not be in list
assertEquals(3, options.size());
options.get(1).setSelected(true);
Expand Down

0 comments on commit 0c7536c

Please sign in to comment.