diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2024-06-25 15:16:40 +0200 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2024-08-07 09:02:10 +0200 |
commit | 2b38d6ae7e0602d164bb26affa8a877b818e9cb5 (patch) | |
tree | 4917f090e30515b8c27f4eec5ae2492cfae1af40 /tests/lib/Session/MemoryTest.php | |
parent | fbbc10466b79caea0b9d1f718d4abdd021df241c (diff) | |
download | nextcloud-server-2b38d6ae7e0602d164bb26affa8a877b818e9cb5.tar.gz nextcloud-server-2b38d6ae7e0602d164bb26affa8a877b818e9cb5.zip |
fix(session): Log when session_* calls are slow
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'tests/lib/Session/MemoryTest.php')
-rw-r--r-- | tests/lib/Session/MemoryTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/Session/MemoryTest.php b/tests/lib/Session/MemoryTest.php index ae4a1b64dc0..f5d9685039d 100644 --- a/tests/lib/Session/MemoryTest.php +++ b/tests/lib/Session/MemoryTest.php @@ -11,10 +11,10 @@ namespace Test\Session; class MemoryTest extends Session { protected function setUp(): void { parent::setUp(); - $this->instance = new \OC\Session\Memory($this->getUniqueID()); + $this->instance = new \OC\Session\Memory(); } - + public function testThrowsExceptionOnGetId() { $this->expectException(\OCP\Session\Exceptions\SessionNotAvailableException::class); |