Skip to content

Commit d1356ad

Browse files
committed
Update EssentialCookiesCategoryTest.php
1 parent 815f56d commit d1356ad

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/Unit/EssentialCookiesCategoryTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
Config::shouldReceive('get')->with('app.fallback_locale')->andReturn('en');
1010
Config::shouldReceive('get')->with('database.default')->andReturn('test');
1111
Config::shouldReceive('get')->with('database.connections.test')->andReturn(null);
12+
Config::shouldReceive('get')->with('logging.channels.deprecations')->andReturn(null);
1213
Config::shouldReceive('get')->once()->with('cookieconsent.cookie.name')->andReturn('foo_consent');
1314
Config::shouldReceive('get')->once()->with('cookieconsent.cookie.duration')->andReturn(365 * 24 * 60);
1415

@@ -25,6 +26,7 @@
2526
Config::shouldReceive('get')->with('app.fallback_locale')->andReturn('en');
2627
Config::shouldReceive('get')->with('database.default')->andReturn('test');
2728
Config::shouldReceive('get')->with('database.connections.test')->andReturn(null);
29+
Config::shouldReceive('get')->with('logging.channels.deprecations')->andReturn(null);
2830
Config::shouldReceive('get')->once()->with('session.cookie')->andReturn('foo_session');
2931
Config::shouldReceive('get')->once()->with('session.lifetime')->andReturn(120);
3032

@@ -41,6 +43,7 @@
4143
Config::shouldReceive('get')->with('app.fallback_locale')->andReturn('en');
4244
Config::shouldReceive('get')->with('database.default')->andReturn('test');
4345
Config::shouldReceive('get')->with('database.connections.test')->andReturn(null);
46+
Config::shouldReceive('get')->with('logging.channels.deprecations')->andReturn(null);
4447
Config::shouldReceive('get')->once()->with('session.lifetime')->andReturn(120);
4548

4649
$category = new EssentialCookiesCategory('foo');

0 commit comments

Comments
 (0)