Skip to content

Commit

Permalink
test: remove uneeded code
Browse files Browse the repository at this point in the history
  • Loading branch information
kenjis committed Oct 5, 2022
1 parent 0d002eb commit 0591cc1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/system/Helpers/FormHelperTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,7 @@ private function setRequest(): void

public function testFormOpenBasic()
{
$request = $this->setRequest();
Services::injectMock('request', $request);
$this->setRequest();

$before = (new Filters())->globals['before'];
if (in_array('csrf', $before, true) || array_key_exists('csrf', $before)) {
Expand Down

0 comments on commit 0591cc1

Please sign in to comment.