Add VariableManager, RpcClient classes, and cache enhancements
This commit is contained in:
parent
38092a639e
commit
e55f4d57f9
27 changed files with 606 additions and 56 deletions
|
@ -6,7 +6,6 @@ use InvalidArgumentException;
|
|||
use PHPUnit\Framework\TestCase;
|
||||
use Socialbox\Classes\Cryptography;
|
||||
use Socialbox\Classes\Utilities;
|
||||
use Socialbox\Exceptions\DatabaseOperationException;
|
||||
use Socialbox\Objects\SessionRecord;
|
||||
|
||||
class SessionManagerTest extends TestCase
|
||||
|
@ -27,14 +26,6 @@ class SessionManagerTest extends TestCase
|
|||
$this->assertTrue(SessionManager::sessionExists($uuid));
|
||||
}
|
||||
|
||||
public function testGetSessionWithInvalidUuid(): void
|
||||
{
|
||||
$uuid = 'invalid_uuid';
|
||||
|
||||
$this->expectException(DatabaseOperationException::class);
|
||||
SessionManager::getSession($uuid);
|
||||
}
|
||||
|
||||
public function testGetSessionWithValidUuid(): void
|
||||
{
|
||||
$keyPair = Cryptography::generateKeyPair();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue