diff --git a/spoon/tests/database/SpoonDatabaseLargeDataSet.php b/spoon/tests/database/SpoonDatabaseLargeDataSet.php index b77265b..f1ed3c4 100644 --- a/spoon/tests/database/SpoonDatabaseLargeDataSet.php +++ b/spoon/tests/database/SpoonDatabaseLargeDataSet.php @@ -35,7 +35,7 @@ class SpoonDatabaseLargeDataSet extends TestCase */ public function setup() { - $this->db = new SpoonDatabase('mysql', 'localhost', 'root', 'spoon', 'spoon_tests'); + $this->db = new SpoonDatabase('mysql', '127.0.0.1', 'root', 'spoon', 'spoon_tests'); } /** diff --git a/spoon/tests/database/SpoonDatabaseTest.php b/spoon/tests/database/SpoonDatabaseTest.php index 49b9203..da53a0c 100644 --- a/spoon/tests/database/SpoonDatabaseTest.php +++ b/spoon/tests/database/SpoonDatabaseTest.php @@ -17,7 +17,7 @@ class SpoonDatabaseTest extends TestCase public function setup() { // create database object - $this->db = new SpoonDatabase('mysql', 'localhost', 'root', 'spoon', 'spoon_tests'); + $this->db = new SpoonDatabase('mysql', '127.0.0.1', 'root', 'spoon', 'spoon_tests'); } public function testExecute()