type fixes

This commit is contained in:
Robin Appelman 2021-03-09 18:21:40 +01:00
commit 515b42586e
2 changed files with 14 additions and 4 deletions

View file

@ -61,7 +61,7 @@ class TimeZoneProviderTest extends TestCase {
public function testFQDNNoNet() {
$this->system->method('getNetPath')
->willReturn(false);
->willReturn(null);
$this->system->method('getDatePath')
->willReturn($this->getDummyCommand("+700"));
@ -70,9 +70,9 @@ class TimeZoneProviderTest extends TestCase {
public function testNoNetNoDate() {
$this->system->method('getNetPath')
->willReturn(false);
->willReturn(null);
$this->system->method('getDatePath')
->willReturn(false);
->willReturn(null);
$this->assertEquals(date_default_timezone_get(), $this->provider->get('foo.bar.com'));
}