You've already forked Traefik-Redis-Api
derpherp
This commit is contained in:
@@ -14,7 +14,6 @@ use Siteworxpro\Tests\Unit;
|
||||
|
||||
class RedisClientServiceTest extends Unit
|
||||
{
|
||||
|
||||
public function testCreateServiceHttp(): void
|
||||
{
|
||||
$this->createTest(ProtocolEnum::HTTP);
|
||||
@@ -50,7 +49,8 @@ class RedisClientServiceTest extends Unit
|
||||
->andReturn([0, []]);
|
||||
|
||||
Redis::expects('set')
|
||||
->with('traefik/' . $protocol->getValue() . '/services/foo/loadbalancer/servers/server1/url', 'http://foo.localhost:80')
|
||||
->with('traefik/' . $protocol->getValue() .
|
||||
'/services/foo/loadbalancer/servers/server1/url', 'http://foo.localhost:80')
|
||||
->once()
|
||||
->andReturn(true);
|
||||
|
||||
@@ -140,4 +140,4 @@ class RedisClientServiceTest extends Unit
|
||||
$this->assertIsArray($services);
|
||||
$this->assertCount(2, $services);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user