Skip to content

Commit a0680ad

Browse files
authored
Fixes Bigtable tests (GoogleCloudPlatform#933)
1 parent 148d01a commit a0680ad

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

bigtable/test/bigtableTest.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ public function testListColumnFamilies()
163163

164164
$this->assertContains(sprintf('Column Family: %s', 'cf3'), $array);
165165
$this->assertContains('GC Rule:', $array);
166-
$this->assertContains('{"gcRule":{"union":{"rules":[{"maxNumVersions":2},{"maxAge":"432000.000000000s"}]}}}', $array);
166+
$this->assertContains('{"gcRule":{"union":{"rules":[{"maxNumVersions":2},{"maxAge":"432000s"}]}}}', $array);
167167
}
168168

169169
public function testListInstanceClusters()
@@ -216,7 +216,7 @@ public function testCreateFamilyGcUnion()
216216
'maxNumVersions' => 2
217217
],
218218
[
219-
'maxAge' => '432000.000000000s'
219+
'maxAge' => '432000s'
220220
]
221221
]
222222
]
@@ -251,7 +251,7 @@ public function testCreateFamilyGcNested()
251251
'intersection' => [
252252
'rules' => [
253253
[
254-
'maxAge' => '2592000.000000000s'
254+
'maxAge' => '2592000s'
255255
],
256256
[
257257
'maxNumVersions' => 2
@@ -306,7 +306,7 @@ public function testCreateFamilyGcMaxAge()
306306

307307
$gcRuleCompare = [
308308
'gcRule' => [
309-
'maxAge' => '432000.000000000s'
309+
'maxAge' => '432000s'
310310
]
311311
];
312312

@@ -332,7 +332,7 @@ public function testCreateFamilyGcIntersection()
332332
'intersection' => [
333333
'rules' => [
334334
[
335-
'maxAge' => '432000.000000000s'
335+
'maxAge' => '432000s'
336336
],
337337
[
338338
'maxNumVersions' => 2

0 commit comments

Comments
 (0)