Skip to content

Commit e4fe49c

Browse files
committed
final fixes
1 parent 8eba760 commit e4fe49c

File tree

6 files changed

+13
-8
lines changed

6 files changed

+13
-8
lines changed

doc/services/object-store/v1/index.rst

+5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
Object Store v1
22
===============
33

4+
Object store (Swift) API Version 1. Swift is a highly available, distributed, eventually consistent object/blob store.
5+
Organizations can use Swift to store lots of data efficiently, safely, and cheaply.
6+
7+
.. osdoc:: https://docs.openstack.org/api-ref/object-store/
8+
49
.. toctree::
510
:maxdepth: 3
611

samples/ObjectStore/v1/account/read.php

+2
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,5 @@
1313

1414
$service = $openstack->objectStoreV1();
1515
$account = $service->getAccount();
16+
17+
$account->retrieve();

samples/ObjectStore/v1/containers/read.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,5 @@
1313

1414
$service = $openstack->objectStoreV1();
1515
$container = $service->getContainer('{containerName}');
16-
$container->retrieve();
16+
17+
$container->retrieve();

tests/sample/Networking/v2/NetworkTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public function testUpdate(Network $createdNetwork)
5353
/**
5454
* @depends testCreate
5555
*/
56-
public function testRetrieve(Network $createdNetwork)
56+
public function testRead(Network $createdNetwork)
5757
{
5858
/** @var \OpenStack\Networking\v2\Models\Network $network */
5959
require_once $this->sampleFile('networks/read.php', ['{networkId}' => $createdNetwork->id]);

tests/sample/Networking/v2/PortTest.php

+1-4
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ public function testList(Port $createdPort)
9797
/**
9898
* @depends testCreate
9999
*/
100-
public function testGet(Port $createdPort)
100+
public function testRead(Port $createdPort)
101101
{
102102
/** @var $port \OpenStack\Networking\v2\Models\Port */
103103
require_once $this->sampleFile(
@@ -108,9 +108,6 @@ public function testGet(Port $createdPort)
108108

109109
$this->assertInstanceOf(Port::class, $port);
110110
$this->assertNotEmpty($port->id);
111-
$this->assertEmpty($port->name);
112-
113-
$port->retrieve();
114111
$this->assertNotEmpty($port->name);
115112
}
116113

tests/sample/Networking/v2/SubnetTest.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -100,10 +100,10 @@ public function testUpdate(Subnet $createdSubnet)
100100
/**
101101
* @depends testCreate
102102
*/
103-
public function testRetrieve(Subnet $createdSubnet)
103+
public function testRead(Subnet $createdSubnet)
104104
{
105105
/** @var $subnet \OpenStack\Networking\v2\Models\Subnet */
106-
require_once $this->sampleFile('subnets/get.php', ['{subnetId}' => $createdSubnet->id]);
106+
require_once $this->sampleFile('subnets/read.php', ['{subnetId}' => $createdSubnet->id]);
107107

108108
$this->assertInstanceOf(Subnet::class, $subnet);
109109
$this->assertEquals($subnet->id, $subnet->id);

0 commit comments

Comments
 (0)