1
0

Clarify test suite taxonomy

This commit is contained in:
2026-03-19 20:22:10 +01:00
parent 011d662dfc
commit f7b03926b0
5 changed files with 36 additions and 26 deletions

View File

@@ -3,7 +3,6 @@
namespace MintyPHP\Tests\Unit\Module;
use MintyPHP\App\AppContainer;
use MintyPHP\App\Module\Contracts\SessionProvider;
use MintyPHP\Module\AddressBook\Providers\AddressBookSessionProvider;
use PHPUnit\Framework\TestCase;
@@ -31,12 +30,6 @@ final class SessionProviderTest extends TestCase
return new AppContainer();
}
public function testImplementsSessionProviderContract(): void
{
$provider = new AddressBookSessionProvider();
self::assertInstanceOf(SessionProvider::class, $provider);
}
public function testPopulateWithInvalidUserClearsSessionKey(): void
{
$_SESSION['module.addressbook.departments_by_tenant'] = [['tenant' => 'old']];