Skip to content

Commit

Permalink
. t Corrected test that was using deprecated api
Browse files Browse the repository at this point in the history
  • Loading branch information
ScottBob committed Oct 12, 2023
1 parent 9286f5c commit 14cc240
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,16 +94,16 @@ Collection<DynamicTest> testFactory()
{
return Arrays.asList(
JupiterApprovals.dynamicTest("test 1",
() -> StackTraceNamerUtils.assertNamerForFramework(this.getClass().getSimpleName(),
"testFactory.test_1")),
(o) -> StackTraceNamerUtils.assertNamerForFramework(this.getClass().getSimpleName(),
"testFactory.test_1", o.forFile().getNamer())),
JupiterApprovals.dynamicTest("test 3",
() -> StackTraceNamerUtils.assertNamerForFramework(this.getClass().getSimpleName(),
"testFactory.test_3")),
(o) -> StackTraceNamerUtils.assertNamerForFramework(this.getClass().getSimpleName(),
"testFactory.test_3", o.forFile().getNamer())),
JupiterApprovals.dynamicTest("test 3",
(o) -> StackTraceNamerUtils.assertNamerForFramework(this.getClass().getSimpleName(),
"testFactory.test_3", o.forFile().getNamer())),
JupiterApprovals.dynamicTest("test 2", () -> StackTraceNamerUtils
.assertNamerForFramework(this.getClass().getSimpleName(), "testFactory.test_2")));
JupiterApprovals.dynamicTest("test 2", (o) -> StackTraceNamerUtils
.assertNamerForFramework(this.getClass().getSimpleName(), "testFactory.test_2", o.forFile().getNamer())));
}
@TestFactory
Collection<DynamicTest> testFactory2()
Expand Down

0 comments on commit 14cc240

Please sign in to comment.