Skip to content

Commit

Permalink
cleanup test
Browse files Browse the repository at this point in the history
  • Loading branch information
bshaffer committed Jun 25, 2024
1 parent 94b272e commit 1a81623
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Spanner/tests/Unit/Connection/GrpcTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -548,15 +548,15 @@ public function testBatchWrite()
->insertOrUpdate(
"Singers",
['SingerId' => 16, 'FirstName' => 'Scarlet', 'LastName' => 'Terry']
),
)->toArray(),
(new MutationGroup(false))
->insertOrUpdate(
"Singers",
['SingerId' => 17, 'FirstName' => 'Marc', 'LastName' => 'Kristen']
)->insertOrUpdate(
"Albums",
['AlbumId' => 1, 'SingerId' => 17, 'AlbumTitle' => 'Total Junk']
)
)->toArray()
];

$expectedMutationGroups = [
Expand Down Expand Up @@ -598,7 +598,7 @@ public function testBatchWrite()
[
'database' => self::DATABASE,
'session' => self::SESSION,
'mutationGroups' => array_map(fn ($x) => $x->toArray(), $mutationGroups),
'mutationGroups' => $mutationGroups,
],
$this->expectResourceHeader(self::DATABASE, [
self::SESSION,
Expand Down

0 comments on commit 1a81623

Please sign in to comment.