Skip to content

Commit fdce608

Browse files
committed
skips datastore test when GCLOUD_PROJECT isn't set
1 parent aa00f4e commit fdce608

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

appengine/flexible/datastore/tests/LocalTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ class LocalTest extends WebTestCase
2222
{
2323
public function setUp()
2424
{
25+
if (!getenv('GCLOUD_PROJECT')) {
26+
$this->markTestSkipped('Must set GCLOUD_PROJECT');
27+
}
2528
parent::setUp();
2629
$this->client = $this->createClient();
2730
}

0 commit comments

Comments
 (0)