Skip to content

Commit

Permalink
use root context store for caching config value
Browse files Browse the repository at this point in the history
Co-authored-by: Marc Philipp <mail@marcphilipp.de>
  • Loading branch information
JonasJebing and marcphilipp authored Oct 24, 2024
1 parent 8a84dc2 commit 09ced82
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ private ExtensionContext.Store getStoreInMethodNamespace(ExtensionContext contex
}

private ExtensionContext.Store getStoreInExtensionNamespace(ExtensionContext context) {
return context.getStore(Namespace.create(ParameterizedTestExtension.class));
return context.getRoot().getStore(Namespace.create(ParameterizedTestExtension.class));
}

private void validateArgumentCount(ExtensionContext extensionContext, Arguments arguments) {
Expand Down

0 comments on commit 09ced82

Please sign in to comment.