Skip to content

Commit 2ddb87c

Browse files
author
Jamie Hannaford
committed
fix tests
1 parent 158534d commit 2ddb87c

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

tests/integration/BlockStorage/V2Test.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
use OpenStack\BlockStorage\v2\Models\Volume;
77
use OpenStack\BlockStorage\v2\Models\VolumeType;
88
use OpenStack\Integration\TestCase;
9+
use OpenStack\Integration\Utils;
910
use OpenStack\OpenStack;
1011

1112
class V2Test extends TestCase
@@ -18,7 +19,7 @@ class V2Test extends TestCase
1819
private function getService()
1920
{
2021
if (null === $this->service) {
21-
$this->service = (new OpenStack())->blockStorageV2($this->getAuthOpts());
22+
$this->service = (new OpenStack())->blockStorageV2(Utils::getAuthOpts());
2223
}
2324

2425
return $this->service;

tests/integration/Images/V2Test.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
use OpenStack\Images\v2\Models\Image;
66
use OpenStack\Images\v2\Models\Member;
77
use OpenStack\Integration\TestCase;
8+
use OpenStack\Integration\Utils;
89
use OpenStack\OpenStack;
910

1011
class V2Test extends TestCase
@@ -17,7 +18,7 @@ class V2Test extends TestCase
1718
private function getService()
1819
{
1920
if (null === $this->service) {
20-
$this->service = (new OpenStack())->imagesV2($this->getAuthOpts());
21+
$this->service = (new OpenStack())->imagesV2(Utils::getAuthOpts());
2122
}
2223

2324
return $this->service;

0 commit comments

Comments
 (0)