Skip to content

Commit 57d30e2

Browse files
authored
fixes datastore tests (GoogleCloudPlatform#272)
1 parent 1e62381 commit 57d30e2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

datastore/api/test/ConceptsTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1106,7 +1106,8 @@ public function testPropertyByKindRunQuery()
11061106
self::$datastore->upsertBatch([$entity1, $entity2]);
11071107
$this->runEventuallyConsistentTest(function () {
11081108
$properties = property_by_kind_run_query(self::$datastore);
1109-
$this->assertEquals(['description' => ['STRING']], $properties);
1109+
$this->assertArrayHasKey('description', $properties);
1110+
$this->assertEquals(['STRING'], $properties['description']);
11101111
});
11111112
}
11121113

0 commit comments

Comments
 (0)