diff --git a/tests/Unit/Controllers/NewsControllerTest.php b/tests/Unit/Controllers/NewsControllerTest.php index cb6e5e15..2dceca36 100644 --- a/tests/Unit/Controllers/NewsControllerTest.php +++ b/tests/Unit/Controllers/NewsControllerTest.php @@ -104,8 +104,8 @@ class NewsControllerTest extends ControllerTest // Show meetings $this->assertTrue($data['only_meetings']); $this->assertTrue($news->isNotEmpty()); - $this->assertEquals(1, $data['pages']); - $this->assertEquals(1, $data['page']); + $this->assertEquals(2, $data['pages']); + $this->assertEquals(2, $data['page']); break; default: // No news found diff --git a/tests/Unit/Http/SessionServiceProviderTest.php b/tests/Unit/Http/SessionServiceProviderTest.php index 6cd6b8cd..6734ea12 100644 --- a/tests/Unit/Http/SessionServiceProviderTest.php +++ b/tests/Unit/Http/SessionServiceProviderTest.php @@ -59,7 +59,7 @@ class SessionServiceProviderTest extends ServiceProviderTest NativeSessionStorage::class, [ // 2 days - 'options' => ['cookie_httponly' => true, 'name' => 'session', 'cookie_lifetime' => 172800], + 'options' => ['cookie_secure' => true, 'cookie_httponly' => true, 'name' => 'session', 'cookie_lifetime' => 172800], 'handler' => null, ], ], @@ -69,7 +69,7 @@ class SessionServiceProviderTest extends ServiceProviderTest NativeSessionStorage::class, [ // 5 days - 'options' => ['cookie_httponly' => true, 'name' => 'foobar', 'cookie_lifetime' => 432000], + 'options' => ['cookie_secure' => true, 'cookie_httponly' => true, 'name' => 'foobar', 'cookie_lifetime' => 432000], 'handler' => $databaseHandler, ], ],