Skip to content

Commit 98b5c02

Browse files
committed
Updated tests and composer to work with Laravel 7
1 parent 6d855ac commit 98b5c02

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

composer.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
"jenssegers/agent": "^2.6"
2626
},
2727
"require-dev": {
28-
"orchestra/database": "~3.8 | ~4.0",
29-
"orchestra/testbench": "~3.8 | ~4.0",
28+
"orchestra/database": "~3.8 | ~4.0 | ~5.0",
29+
"orchestra/testbench": "~3.8 | ~4.0 | ~5.0",
3030
"phpunit/phpunit": "~8.0",
3131
"squizlabs/php_codesniffer": "^3.0",
3232
"mockery/mockery": "^1.0"

tests/Services/CookieHelperTest.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ public function testSetCookiePolicy(): void
7272
$ch = $this->app->make(CookieHelper::class);
7373
$ch->setCookiePolicy();
7474

75-
$this->assertFalse($this->app['config']->get('session.secure'));
76-
$this->assertNull($this->app['config']->get('session.same_site'));
75+
$this->assertNotTrue($this->app['config']->get('session.secure'));
76+
$this->assertNotEquals('none', $this->app['config']->get('session.same_site'));
7777

7878
// Compatible check
7979
$_SERVER['HTTP_USER_AGENT'] = $this->compatibleUserAgents[0];

0 commit comments

Comments
 (0)