|
|
|
|
@ -78,6 +78,11 @@ abstract class FetcherBase extends TestCase { |
|
|
|
|
$this->config |
|
|
|
|
->expects($this->at(1)) |
|
|
|
|
->method('getSystemValue') |
|
|
|
|
->with('has_internet_connection', true) |
|
|
|
|
->willReturn(true); |
|
|
|
|
$this->config |
|
|
|
|
->expects($this->at(2)) |
|
|
|
|
->method('getSystemValue') |
|
|
|
|
->with( |
|
|
|
|
$this->equalTo('version'), |
|
|
|
|
$this->anything() |
|
|
|
|
@ -121,11 +126,16 @@ abstract class FetcherBase extends TestCase { |
|
|
|
|
$this->config |
|
|
|
|
->expects($this->at(1)) |
|
|
|
|
->method('getSystemValue') |
|
|
|
|
->with('appstoreenabled', true) |
|
|
|
|
->with('has_internet_connection', true) |
|
|
|
|
->willReturn(true); |
|
|
|
|
$this->config |
|
|
|
|
->expects($this->at(2)) |
|
|
|
|
->method('getSystemValue') |
|
|
|
|
->with('appstoreenabled', true) |
|
|
|
|
->willReturn(true); |
|
|
|
|
$this->config |
|
|
|
|
->expects($this->at(3)) |
|
|
|
|
->method('getSystemValue') |
|
|
|
|
->with( |
|
|
|
|
$this->equalTo('version'), |
|
|
|
|
$this->anything() |
|
|
|
|
@ -277,11 +287,16 @@ abstract class FetcherBase extends TestCase { |
|
|
|
|
$this->config |
|
|
|
|
->expects($this->at(1)) |
|
|
|
|
->method('getSystemValue') |
|
|
|
|
->with('appstoreenabled', true) |
|
|
|
|
->with('has_internet_connection', true) |
|
|
|
|
->willReturn(true); |
|
|
|
|
$this->config |
|
|
|
|
->expects($this->at(2)) |
|
|
|
|
->method('getSystemValue') |
|
|
|
|
->with('appstoreenabled', true) |
|
|
|
|
->willReturn(true); |
|
|
|
|
$this->config |
|
|
|
|
->expects($this->at(3)) |
|
|
|
|
->method('getSystemValue') |
|
|
|
|
->with( |
|
|
|
|
$this->equalTo('version'), |
|
|
|
|
$this->anything() |
|
|
|
|
@ -356,11 +371,16 @@ abstract class FetcherBase extends TestCase { |
|
|
|
|
$this->config |
|
|
|
|
->expects($this->at(1)) |
|
|
|
|
->method('getSystemValue') |
|
|
|
|
->with('appstoreenabled', true) |
|
|
|
|
->with('has_internet_connection', true) |
|
|
|
|
->willReturn(true); |
|
|
|
|
$this->config |
|
|
|
|
->expects($this->at(2)) |
|
|
|
|
->method('getSystemValue') |
|
|
|
|
->with('appstoreenabled', true) |
|
|
|
|
->willReturn(true); |
|
|
|
|
$this->config |
|
|
|
|
->expects($this->at(3)) |
|
|
|
|
->method('getSystemValue') |
|
|
|
|
->with( |
|
|
|
|
$this->equalTo('version'), |
|
|
|
|
$this->anything() |
|
|
|
|
|