Commit b128ad6b authored by Ludwig Ruderstaller's avatar Ludwig Ruderstaller
Browse files

Merge branch 'develop' into 'master'

fixing tests

See merge request !6
parents 40396500 34f9b14e
Pipeline #25960 canceled with stage
in 15 seconds
......@@ -15,6 +15,7 @@ namespace Cwd\PowerDNSClient\Tests;
use Cwd\PowerDNSClient\Client;
use Cwd\PowerDNSClient\PowerDNSClient;
use Doctrine\Common\Annotations\AnnotationReader;
use PHPUnit\Framework\TestCase;
abstract class AbstractTest extends TestCase
......@@ -25,7 +26,7 @@ abstract class AbstractTest extends TestCase
protected function getClient(): PowerDNSClient
{
if (null === $this->pdnsClient) {
$client = new Client('http://powerdns', 'b60dc02889d7eb66a81f2f513ba7449d');
$client = new Client('http://powerdns', 'b60dc02889d7eb66a81f2f513ba7449d', null, new AnnotationReader());
$pdns = new PowerDNSClient($client);
$pdns->setDefaultServerId('localhost');
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment