Skip to content

Commit adc46e2

Browse files
committed
Call the right method
1 parent 2d5c972 commit adc46e2

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

Tests/DatabaseMysqlCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public static function setUpBeforeClass()
4747
// Make sure the driver is supported
4848
if (!MysqlDriver::isSupported())
4949
{
50-
static::skip('The PDO MySQL driver is not supported on this platform.');
50+
static::markTestSkipped('The PDO MySQL driver is not supported on this platform.');
5151
}
5252

5353
// First let's trim the mysql: part off the front of the DSN if it exists.

Tests/DatabaseMysqliCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public static function setUpBeforeClass()
4848
// Make sure the driver is supported, we check both PDO MySQL and MySQLi here due to PHPUnit requiring a PDO connection to set up the test
4949
if (!MysqlDriver::isSupported() || !MysqliDriver::isSupported())
5050
{
51-
static::skip('The PDO MySQL or MySQLi driver is not supported on this platform.');
51+
static::markTestSkipped('The PDO MySQL or MySQLi driver is not supported on this platform.');
5252
}
5353

5454
// First let's trim the mysql: part off the front of the DSN if it exists.

Tests/DatabaseOracleCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public static function setUpBeforeClass()
4747
// Make sure the driver is supported
4848
if (!OracleDriver::isSupported())
4949
{
50-
static::skip('The PDO Oracle driver is not supported on this platform.');
50+
static::markTestSkipped('The PDO Oracle driver is not supported on this platform.');
5151
}
5252

5353
// First let's trim the oci: part off the front of the DSN if it exists.

Tests/DatabasePgsqlCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public static function setUpBeforeClass()
4747
// Make sure the driver is supported
4848
if (!PgsqlDriver::isSupported())
4949
{
50-
static::skip('The PDO PostgreSQL driver is not supported on this platform.');
50+
static::markTestSkipped('The PDO PostgreSQL driver is not supported on this platform.');
5151
}
5252

5353
// First let's trim the pgsql: part off the front of the DSN if it exists.

Tests/DatabasePostgresqlCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public static function setUpBeforeClass()
5151
*/
5252
if (!PostgresqlDriver::isSupported() || !PgsqlDriver::isSupported())
5353
{
54-
static::skip('The PDO PostgreSQL or PostgreSQL driver is not supported on this platform.');
54+
static::markTestSkipped('The PDO PostgreSQL or PostgreSQL driver is not supported on this platform.');
5555
}
5656

5757
// First let's trim the pgsql: part off the front of the DSN if it exists.

Tests/DatabaseSqlsrvCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public static function setUpBeforeClass()
4747
// Make sure the driver is supported
4848
if (!SqlsrvDriver::isSupported())
4949
{
50-
static::skip('The SQL Server driver is not supported on this platform.');
50+
static::markTestSkipped('The SQL Server driver is not supported on this platform.');
5151
}
5252

5353
// First let's trim the sqlsrv: part off the front of the DSN if it exists.

0 commit comments

Comments
 (0)