Skip to content

Commit 6a8c20e

Browse files
committed
test: add test to check param count is reset
1 parent ccd52d1 commit 6a8c20e

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

tests/system/Test/FeatureTestAutoRoutingImprovedTest.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,4 +72,13 @@ public function testCallPost()
7272

7373
$response->assertSee('Saved');
7474
}
75+
76+
public function testCallParamsCount()
77+
{
78+
$response = $this->post('newautorouting/save/1/a/b');
79+
$response->assertSee('Saved');
80+
81+
$response = $this->get('newautorouting');
82+
$response->assertSee('Hello');
83+
}
7584
}

0 commit comments

Comments
 (0)