Skip to content

Commit 099a99d

Browse files
committed
Update EssentialCookiesCategoryTest.php
1 parent d1356ad commit 099a99d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/Unit/EssentialCookiesCategoryTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +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);
12+
Config::shouldReceive('get')->with('logging.channels.deprecations')->andReturn([]);
1313
Config::shouldReceive('get')->once()->with('cookieconsent.cookie.name')->andReturn('foo_consent');
1414
Config::shouldReceive('get')->once()->with('cookieconsent.cookie.duration')->andReturn(365 * 24 * 60);
1515

@@ -26,7 +26,7 @@
2626
Config::shouldReceive('get')->with('app.fallback_locale')->andReturn('en');
2727
Config::shouldReceive('get')->with('database.default')->andReturn('test');
2828
Config::shouldReceive('get')->with('database.connections.test')->andReturn(null);
29-
Config::shouldReceive('get')->with('logging.channels.deprecations')->andReturn(null);
29+
Config::shouldReceive('get')->with('logging.channels.deprecations')->andReturn([]);
3030
Config::shouldReceive('get')->once()->with('session.cookie')->andReturn('foo_session');
3131
Config::shouldReceive('get')->once()->with('session.lifetime')->andReturn(120);
3232

@@ -43,7 +43,7 @@
4343
Config::shouldReceive('get')->with('app.fallback_locale')->andReturn('en');
4444
Config::shouldReceive('get')->with('database.default')->andReturn('test');
4545
Config::shouldReceive('get')->with('database.connections.test')->andReturn(null);
46-
Config::shouldReceive('get')->with('logging.channels.deprecations')->andReturn(null);
46+
Config::shouldReceive('get')->with('logging.channels.deprecations')->andReturn([]);
4747
Config::shouldReceive('get')->once()->with('session.lifetime')->andReturn(120);
4848

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

0 commit comments

Comments
 (0)