Skip to content
Permalink
Browse files

Always skip Mysql tests when not using Mysql for test connection.

Removing unused method which was added in 3448950
Always skipping now, as the test fatals when having only pdo_sqlite.
  • Loading branch information...
ceeram committed Sep 24, 2014
1 parent fb96aa7 commit c73d4225dae5d1efabff1e1d5acfea72a2a082b0
Showing with 3 additions and 2 deletions.
  1. +3 −2 tests/TestCase/Database/Driver/MysqlTest.php
@@ -28,11 +28,12 @@
class MysqlTest extends TestCase {
/**
* Helper method for skipping tests that need a real connection.
* setup
*
* @return void
*/
protected function _needsConnection() {
public function setup() {
parent::setUp();
$config = Configure::read('Datasource.test');
$this->skipIf(strpos($config['datasource'], 'Mysql') === false, 'Not using Mysql for test config');
}

0 comments on commit c73d422

Please sign in to comment.
You can’t perform that action at this time.