Skip to content

Commit

Permalink
👌 simplify namespace creation in JUnit extension to not rely on test …
Browse files Browse the repository at this point in the history
…method as it is not necessary
  • Loading branch information
ryandens committed Mar 6, 2021
1 parent e7c9e69 commit a8bf194
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ class MethodScopeWiremockResolver(
* helper method for get getting a [ExtensionContext.Store] specific to a test method
*/
private fun getStore(context: ExtensionContext): ExtensionContext.Store {
return context.getStore(ExtensionContext.Namespace.create(javaClass, context.requiredTestMethod))
return context.getStore(ExtensionContext.Namespace.create(javaClass))
}

/**
Expand Down

0 comments on commit a8bf194

Please sign in to comment.