Skip to content

Commit 4cac6cf

Browse files
committed
test fixes...
1 parent 90b8a85 commit 4cac6cf

4 files changed

Lines changed: 9 additions & 4 deletions

File tree

.github/run-package-tests.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,12 @@
1515

1616
set -e
1717

18-
DIRS=$(find * -maxdepth 0 -type d -name '[A-Z]*')
18+
if [ "$#" -gt 0 ]; then
19+
DIRS=$1
20+
else
21+
DIRS=$(find * -maxdepth 0 -type d -name '[A-Z]*')
22+
fi
23+
1924
PREFER_LOWEST=""
2025
if [ "$#" -eq 1 ]; then
2126
# first argument can be a directory or "--prefer-lowest"

Core/src/ApiHelperTrait.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
*/
1818
namespace Google\Cloud\Core;
1919

20-
use Exception;
2120
use Google\ApiCore\ArrayTrait;
2221
use Google\ApiCore\Options\CallOptions;
2322
use Google\Protobuf\Internal\Message;

Spanner/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"require": {
77
"php": "^8.1",
88
"ext-grpc": "*",
9-
"google/cloud-core": "^1.66",
9+
"google/cloud-core": "^1.68",
1010
"google/gax": "^1.38.0"
1111
},
1212
"require-dev": {

Spanner/tests/Unit/TransactionTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -710,7 +710,8 @@ public function testSingleUseWithIsolationLevelThrowsAnExceptionOnReadOnly()
710710
{
711711
$this->expectException(ValidationException::class);
712712
$this->expectExceptionMessage(
713-
'The isolation level can only be applied to read/write transactions. Single use transactions are not read/write'
713+
'The isolation level can only be applied to read/write transactions. '
714+
. 'Single use transactions are not read/write'
714715
);
715716

716717
$sql = 'UPDATE foo SET bar = @bar';

0 commit comments

Comments
 (0)