1818 *
1919 * @covers \SimpleSAML\SAML2\Assertion\Validation\ConstraintValidator\SubjectConfirmationNotOnOrAfter
2020 * @package simplesamlphp/saml2
21+ *
22+ * @runTestsInSeparateProcesses
2123 */
2224final class SubjectConfirmationNotOnOrAfterTest extends ControlledTimeTest
2325{
2426 /**
2527 * @group assertion-validation
2628 * @test
27- *
28- * @runInSeparateProcess
29- * @preserveGlobalState disabled
3029 */
3130 public function timestampInThePastBeforeGraceperiodIsNotValid (): void
3231 {
3332 $ subjectConfirmationData = new SubjectConfirmationData (null , $ this ->currentTime - 60 );
3433 $ subjectConfirmation = new SubjectConfirmation (C::CM_HOK , null , $ subjectConfirmationData );
3534
3635 $ validator = new SubjectConfirmationNotOnOrAfter ();
37- $ result = new Result ();
36+ $ result = new Result ();
3837
3938 $ validator ->validate ($ subjectConfirmation , $ result );
4039
@@ -46,17 +45,14 @@ public function timestampInThePastBeforeGraceperiodIsNotValid(): void
4645 /**
4746 * @group assertion-validation
4847 * @test
49- *
50- * @runInSeparateProcess
51- * @preserveGlobalState disabled
5248 */
5349 public function timeWithinGraceperiodIsValid (): void
5450 {
5551 $ subjectConfirmationData = new SubjectConfirmationData (null , $ this ->currentTime - 59 );
5652 $ subjectConfirmation = new SubjectConfirmation (C::CM_HOK , null , $ subjectConfirmationData );
5753
5854 $ validator = new SubjectConfirmationNotOnOrAfter ();
59- $ result = new Result ();
55+ $ result = new Result ();
6056
6157 $ validator ->validate ($ subjectConfirmation , $ result );
6258
@@ -67,17 +63,14 @@ public function timeWithinGraceperiodIsValid(): void
6763 /**
6864 * @group assertion-validation
6965 * @test
70- *
71- * @runInSeparateProcess
72- * @preserveGlobalState disabled
7366 */
7467 public function currentTimeIsValid (): void
7568 {
7669 $ subjectConfirmationData = new SubjectConfirmationData (null , $ this ->currentTime );
7770 $ subjectConfirmation = new SubjectConfirmation (C::CM_HOK , null , $ subjectConfirmationData );
7871
7972 $ validator = new SubjectConfirmationNotBefore ();
80- $ result = new Result ();
73+ $ result = new Result ();
8174
8275 $ validator ->validate ($ subjectConfirmation , $ result );
8376
0 commit comments