Home
last modified time | relevance | path

Searched refs:client (Results 1 – 3 of 3) sorted by relevance

/web-bugs/tests/Unit/Utils/Versions/
H A DClientTest.php11 private $client; variable in App\\Tests\\Unit\\Utils\\Versions\\ClientTest
15 $this->client = new Client();
17 $reflection = new \ReflectionClass($this->client);
21 $devVersionsUrl->setValue($this->client, TEST_MOCKS_DIRECTORY . '/responses/dev-body.txt');
25 … $stableVersionsUrl->setValue($this->client, TEST_MOCKS_DIRECTORY . '/responses/stable-body.txt');
30 $this->assertIsArray($this->client->fetchDevVersions());
35 $this->assertIsArray($this->client->fetchStableVersions());
H A DGeneratorTest.php19 private $client; variable in App\\Tests\\Unit\\Utils\\Versions\\GeneratorTest
31 $this->client = $this->getMockBuilder(Client::class)
35 $this->client->expects($this->once())
39 $this->client->expects($this->once())
44 ->setConstructorArgs([$this->client, $this->cache])
/web-bugs/src/Utils/Versions/
H A DGenerator.php33 private $client; variable in App\\Utils\\Versions\\Generator
59 public function __construct(Client $client, Cache $cache) argument
61 $this->client = $client;
141 foreach ($this->client->fetchDevVersions() as $version) {
158 foreach ($this->client->fetchStableVersions() as $releases) {

Completed in 5 milliseconds