Skip to content

Commit 6320a96

Browse files
authored
fixes appengine standard cloudsql test skip statment (GoogleCloudPlatform#229)
1 parent dc5d1d0 commit 6320a96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

appengine/standard/cloudsql/test/cloudsqlTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public function createApplication()
3030
$dsn = getenv('MYSQL_DSN');
3131
$username = getenv('MYSQL_USERNAME');
3232
$password = getenv('MYSQL_PASSWORD');
33-
if (!isset($dsn, $username) || false === $password) {
33+
if (empty($dsn) || empty($username) || false === $password) {
3434
$this->markTestSkipped('set the MYSQL_DSN, MYSQL_USER and MYSQL_PASSWORD environment variables');
3535
}
3636

0 commit comments

Comments
 (0)