summaryrefslogtreecommitdiff
path: root/tests/Unit
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Unit')
-rw-r--r--tests/Unit/Database/DatabaseServiceProviderTest.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/Unit/Database/DatabaseServiceProviderTest.php b/tests/Unit/Database/DatabaseServiceProviderTest.php
index c3e4c5d0..241c47b7 100644
--- a/tests/Unit/Database/DatabaseServiceProviderTest.php
+++ b/tests/Unit/Database/DatabaseServiceProviderTest.php
@@ -100,7 +100,10 @@ class DatabaseServiceProviderTest extends ServiceProviderTest
$app = $this->getApp(['get', 'make', 'instance']);
$this->setExpects($app, 'get', ['config'], $config);
- $this->setExpects($config, 'get', ['database'], $dbConfigData, $this->atLeastOnce());
+ $config->expects($this->exactly(2))
+ ->method('get')
+ ->withConsecutive(['timezone'], ['database'])
+ ->willReturnOnConsecutiveCalls('UTC', $dbConfigData);
$app->expects($this->atLeastOnce())
->method('make')