diff --git a/tests/integration/Core/BaseTestCase.php b/tests/integration/Core/BaseTestCase.php index da2552e4b5..b08737481c 100644 --- a/tests/integration/Core/BaseTestCase.php +++ b/tests/integration/Core/BaseTestCase.php @@ -63,7 +63,7 @@ abstract class BaseTestCase extends \PHPUnit_Framework_TestCase */ protected $password = null; - protected function loadApplication($userName = null, $password = null) + protected function createApplication($userName = null, $password = null) { if (isset($userName) && isset($password)) { return $this->espoTester->getApplication(true, $userName, $password); @@ -102,7 +102,7 @@ abstract class BaseTestCase extends \PHPUnit_Framework_TestCase $this->espoTester = new Tester($params); $this->espoTester->initialize(); - $this->espoApplication = $this->loadApplication($this->userName, $this->password); + $this->espoApplication = $this->createApplication($this->userName, $this->password); } protected function tearDown() diff --git a/tests/integration/Espo/User/LoginTest.php b/tests/integration/Espo/User/LoginTest.php index 4e5c76d018..a763f23548 100644 --- a/tests/integration/Espo/User/LoginTest.php +++ b/tests/integration/Espo/User/LoginTest.php @@ -45,7 +45,7 @@ class LoginTest extends \tests\integration\Core\BaseTestCase public function testWrongCredentials() { - $application = $this->loadApplication('admin', 'wrong-password'); + $application = $this->createApplication('admin', 'wrong-password'); $this->assertNull($application->getContainer()->get('user')); }