Removed .idea folder and removed "index" output from the unit-tests.

This commit is contained in:
Simon Sessingø
2021-03-21 13:59:35 +01:00
parent 38ce2e6bba
commit f45e0bd12a
15 changed files with 11 additions and 1120 deletions

View File

@@ -2,6 +2,12 @@
class DummyController
{
public function index()
{
}
public function method1()
{

View File

@@ -79,9 +79,10 @@ class RouterUrlTest extends \PHPUnit\Framework\TestCase
{
// Match normal route on alias
TestRouter::get('/url11', 'DummyController@method1');
TestRouter::resource('/url1', 'ResourceController', ['as' => 'match']);
TestRouter::get('/url22', 'DummyController@method2');
TestRouter::get('/url33', 'DummyController@method2')->name('match');
TestRouter::debugNoReset('/url1', 'get');
TestRouter::debugNoReset('/url33', 'get');
$this->assertEquals(TestRouter::getUrl('match'), TestRouter::getUrl());