Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 5b92c20

Browse filesBrowse files
authored
Update WireMockRule.java
1 parent f19ad6d commit 5b92c20
Copy full SHA for 5b92c20

File tree

Expand file treeCollapse file tree

1 file changed

+12
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+12
-0
lines changed

‎src/test/java/org/kohsuke/github/junit/WireMockRule.java

Copy file name to clipboardExpand all lines: src/test/java/org/kohsuke/github/junit/WireMockRule.java
+12Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -613,6 +613,18 @@ public void resetScenarios() {
613613
wireMockServer.resetScenarios();
614614
}
615615

616+
/**
617+
* Set scenario state
618+
*
619+
* @param name
620+
* the name
621+
* @param state
622+
* the state
623+
*/
624+
public void setScenarioState(String name, String state) {
625+
wireMockServer.setScenarioState(name, state);
626+
}
627+
616628
/**
617629
* Reset mappings.
618630
*/

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.