about summary refs log tree commit diff stats
path: root/tests_integration/LogoutHandlerTest.php
diff options
context:
space:
mode:
authorAndrew Dolgov <fox@fakecake.org>2026-05-27 21:29:30 +0300
committerAndrew Dolgov <fox@fakecake.org>2026-05-27 21:29:30 +0300
commit6851640586a06986f704f9182b3cc175c9ebde17 (patch)
treeae1011f4ee99254ca112eecd247f4c1db2cf5d96 /tests_integration/LogoutHandlerTest.php
parentb434f9127fc67d97ed224b22594ecbd232fa4da3 (diff)
downloadthe-epube-6851640586a06986f704f9182b3cc175c9ebde17.tar.gz
the-epube-6851640586a06986f704f9182b3cc175c9ebde17.tar.xz
fix tests via cookie jar parsing
Diffstat (limited to 'tests_integration/LogoutHandlerTest.php')
-rw-r--r--tests_integration/LogoutHandlerTest.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests_integration/LogoutHandlerTest.php b/tests_integration/LogoutHandlerTest.php
index 93ee596..6742875 100644
--- a/tests_integration/LogoutHandlerTest.php
+++ b/tests_integration/LogoutHandlerTest.php
@@ -24,8 +24,6 @@ final class LogoutHandlerTest extends ApiTestCase
 			'op' => 'logout',
 		], $cookieFile);
 
-		print_r($body);
-
 		$this->assertEquals(200, $status);
 		$this->assertEquals('ok', $body['result'] ?? null);
 
@@ -95,7 +93,7 @@ final class LogoutHandlerTest extends ApiTestCase
 		], $cookieFile);
 
 		$this->assertEquals(200, $status1);
-		$this->assertEquals('OK', $body1['result'] ?? null);
+		$this->assertEquals('ok', $body1['result'] ?? null);
 
 		// Second logout — session already destroyed → 401
 		[$status2, $body2] = $this->post($this->apiUrl, [