Skip to content

Commit f9588de

Browse files
committed
Reinstate FailingBeforeAndAfterMethodsTestNGTests
The tests were ignored due to "Fails against TestNG 6.11"; however, these tests pass against the current version of TestNG that we build against (7.8.0).
1 parent 2b3539a commit f9588de

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

spring-test/src/test/java/org/springframework/test/context/junit4/FailingBeforeAndAfterMethodsTestNGTests.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2020 the original author or authors.
2+
* Copyright 2002-2023 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -16,7 +16,6 @@
1616

1717
package org.springframework.test.context.junit4;
1818

19-
import org.junit.Ignore;
2019
import org.junit.Test;
2120
import org.junit.runner.RunWith;
2221
import org.junit.runners.Parameterized;
@@ -92,8 +91,7 @@ public FailingBeforeAndAfterMethodsTestNGTests(String testClassName, int expecte
9291

9392

9493
@Test
95-
@Ignore("Fails against TestNG 6.11")
96-
public void runTestAndAssertCounters() throws Exception {
94+
public void runTestAndAssertCounters() {
9795
TrackingTestNGTestListener listener = new TrackingTestNGTestListener();
9896
TestNG testNG = new TestNG();
9997
testNG.addListener(listener);

0 commit comments

Comments
 (0)