Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
CWD
powerdns-client
Commits
b128ad6b
Commit
b128ad6b
authored
Mar 31, 2019
by
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
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
tests/AbstractTest.php
View file @
b128ad6b
...
...
@@ -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'
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment