Skip to content

Commit 58147c8

Browse files
committed
Add setupRoutes
1 parent aae2264 commit 58147c8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/TestCase.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ abstract class TestCase extends Testbench
1919
{
2020
const TEST_URI = 'test/uri';
2121

22-
protected function defineRoutes($router)
22+
protected function setupRoutes()
2323
{
2424
Route::match(['get', 'post', 'put', 'patch', 'delete'], self::TEST_URI, function () {
2525
return ['health' => 1];
@@ -81,6 +81,7 @@ protected function setUp(): void
8181
{
8282
parent::setUp();
8383

84+
$this->setupRoutes();
8485
$this->refreshStoragePath();
8586
}
8687

0 commit comments

Comments
 (0)