Skip to content

Commit

Permalink
Switch hostname to 127.0.0.1 for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
carakas committed Dec 9, 2020
1 parent bc0bdcc commit b46b178
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion spoon/tests/database/SpoonDatabaseLargeDataSet.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
}

/**
Expand Down
2 changes: 1 addition & 1 deletion spoon/tests/database/SpoonDatabaseTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit b46b178

Please sign in to comment.