Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
Grotax committed Jan 8, 2025
1 parent b7b61eb commit ae6fd72
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions tests/Unit/Config/FetcherConfigTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -136,10 +136,12 @@ public function testProxyPortPreserved()
->method('getAppVersion')
->willReturn('1.0');

$this->sysconfig->expects($this->exactly(1))
$this->sysconfig->expects($this->exactly(2))
->method('getSystemValue')
->with('proxy')
->willReturn('http://192.168.178.1:80');
->willReturnMap([
['poxy', 'http://192.168.178.1:80'],
['proxyuserpwd', null]
]);

$this->class = new FetcherConfig($this->config, $this->sysconfig, $this->appmanager, $this->logger);

Expand Down

0 comments on commit ae6fd72

Please sign in to comment.