From 1a81623ac7c375a79a62f19666a99a0597fdbf27 Mon Sep 17 00:00:00 2001 From: Brent Shaffer Date: Tue, 25 Jun 2024 09:27:26 -0700 Subject: [PATCH] cleanup test --- Spanner/tests/Unit/Connection/GrpcTest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Spanner/tests/Unit/Connection/GrpcTest.php b/Spanner/tests/Unit/Connection/GrpcTest.php index 7b03d2623c52..4b42ecc0d1d3 100644 --- a/Spanner/tests/Unit/Connection/GrpcTest.php +++ b/Spanner/tests/Unit/Connection/GrpcTest.php @@ -548,7 +548,7 @@ public function testBatchWrite() ->insertOrUpdate( "Singers", ['SingerId' => 16, 'FirstName' => 'Scarlet', 'LastName' => 'Terry'] - ), + )->toArray(), (new MutationGroup(false)) ->insertOrUpdate( "Singers", @@ -556,7 +556,7 @@ public function testBatchWrite() )->insertOrUpdate( "Albums", ['AlbumId' => 1, 'SingerId' => 17, 'AlbumTitle' => 'Total Junk'] - ) + )->toArray() ]; $expectedMutationGroups = [ @@ -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,