Skip to content

Commit

Permalink
Updated the return value of getMagicNumber to return 3. (#13303)
Browse files Browse the repository at this point in the history
Co-authored-by: Diego Molina <[email protected]>
  • Loading branch information
manuelsblanco and diemol authored Dec 14, 2023
1 parent 3b52ed2 commit 3bfd4f3
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions java/test/org/openqa/selenium/remote/AugmenterTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -378,23 +378,19 @@ public interface HasNumbers {

public static class ChildRemoteDriver extends RemoteWebDriver implements HasMagicNumbers {

private final int magicNumber = 3;

@Override
public Capabilities getCapabilities() {
return new FirefoxOptions();
}

@Override
public int getMagicNumber() {
return magicNumber;
return 3;
}
}

public static class WithFinals extends RemoteWebDriver {

public final String finalField = "FINAL";

@Override
public Capabilities getCapabilities() {
return new ImmutableCapabilities();
Expand Down

0 comments on commit 3bfd4f3

Please sign in to comment.