Skip to content

Commit 14619f7

Browse files
committed
Use ClearStateTestCase to ensure test consistency
1 parent c686fba commit 14619f7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/src/Auth/Process/AttributeFromSQLTest.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44

55
namespace SimpleSAML\Test\Module\sqlattribs\Auth\Process;
66

7-
use PHPUnit\Framework\TestCase;
87
use SimpleSAML\Configuration;
98
use SimpleSAML\Module\sqlattribs\Auth\Process\AttributeFromSQL;
9+
use SimpleSAML\TestUtils\ClearStateTestCase;
1010

11-
final class AttributeFromSQLTest extends TestCase
11+
final class AttributeFromSQLTest extends ClearStateTestCase
1212
{
1313
/**
1414
* Helper function to run the filter with a given configuration.
@@ -26,6 +26,7 @@ private static function processFilter(array $config, array $request): array
2626

2727
protected function setUp(): void
2828
{
29+
parent::setUp();
2930
Configuration::loadFromArray([], '[ARRAY]', 'simplesaml');
3031
}
3132

0 commit comments

Comments
 (0)