Skip to content

Commit 89969b6

Browse files
committed
test: update for check SHIELD_VERSION
1 parent bfe0711 commit 89969b6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/Collectors/AuthTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
namespace Tests\Collectors;
66

7+
use CodeIgniter\Shield\Auth as ShieldAuth;
78
use CodeIgniter\Shield\Authentication\Authenticators\Session;
89
use CodeIgniter\Shield\Collectors\Auth;
910
use CodeIgniter\Shield\Entities\User;
@@ -71,6 +72,7 @@ public function testGetTitleDetails(): void
7172
{
7273
$output = $this->collector->getTitleDetails();
7374

75+
$this->assertStringContainsString(ShieldAuth::SHIELD_VERSION, $output);
7476
$this->assertStringContainsString(Session::class, $output);
7577
}
7678

0 commit comments

Comments
 (0)