We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f4afb17 commit 5f05477Copy full SHA for 5f05477
1 file changed
Spanner/tests/System/AdminTest.php
@@ -78,7 +78,10 @@ public function testInstance()
78
'nodeCount' => 0,
79
'processingUnits' => 0,
80
'state' => Instance::STATE_READY,
81
- 'config' => ''
+ 'config' => '',
82
+ 'replicaComputeCapacity' => [],
83
+ 'edition' => 0,
84
+ 'defaultBackupScheduleType' => 0,
85
];
86
$info = $instance->reload(['fieldMask' => $requestedFieldNames]);
87
$this->assertEquals($expectedInfo, $info);
@@ -139,7 +142,8 @@ public function testDatabaseDropProtection()
139
142
$op = $instance->createDatabase($dbName);
140
143
141
144
$this->assertInstanceOf(OperationResponse::class, $op);
- $db = $op->pollUntilComplete();
145
+ $op->pollUntilComplete();
146
+ $db = $op->getResult();
147
$this->assertInstanceOf(Database::class, $db);
148
149
$info = $db->reload();
0 commit comments