Skip to content

Commit b2962b5

Browse files
committed
Use wrapper methods in unit tests
1 parent 4e657a2 commit b2962b5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tests/unit/Codeception/Module/PhpBrowserRestTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class PhpBrowserRestTest extends Unit
1515
*/
1616
protected $phpBrowser;
1717

18-
public function setUp()
18+
public function _setUp()
1919
{
2020
$this->phpBrowser = new \Codeception\Module\PhpBrowser(make_container());
2121
$url = 'http://localhost:8010';

tests/unit/Codeception/Module/PhpBrowserTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class PhpBrowserTest extends TestsForBrowsers
1717

1818
protected $history = [];
1919

20-
protected function setUp()
20+
protected function _setUp()
2121
{
2222
$this->module = new \Codeception\Module\PhpBrowser(make_container());
2323
$url = 'http://localhost:8000';
@@ -41,7 +41,7 @@ private function getLastRequest()
4141
return $this->history->getLastRequest();
4242
}
4343

44-
protected function tearDown()
44+
protected function _tearDown()
4545
{
4646
if ($this->module) {
4747
$this->module->_after($this->makeTest());

0 commit comments

Comments
 (0)