We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc6564b commit 56d1fb3Copy full SHA for 56d1fb3
test/functional/InvalidEPPNTest.php
@@ -15,14 +15,15 @@ public static function provider()
15
public function testInitGetSSO(string $eppn, bool $is_valid): void
16
{
17
global $SSO;
18
- self::expectNotToPerformAssertions();
19
$original_server = $_SERVER;
20
$original_sso = $SSO;
21
if (session_status() == PHP_SESSION_ACTIVE) {
22
session_write_close();
23
session_id(uniqid());
24
}
25
- if (!$is_valid) {
+ if ($is_valid) {
+ self::expectNotToPerformAssertions();
26
+ } else {
27
$this->expectException(SSOException::class);
28
29
try {
0 commit comments