Skip to content

Commit

Permalink
Fix "Error: Access to undeclared static property Eccube\Tests\Form\Ty…
Browse files Browse the repository at this point in the history
…pe\Admin\BlockTypeTest::$container"
  • Loading branch information
chihiro-adachi committed Dec 18, 2023
1 parent 9160c52 commit cb4eb6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Eccube/Tests/Form/Type/Admin/BlockTypeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ protected function setUp(): void
'csrf_protection' => false,
])
->getForm();
self::$container->get('request_stack')->push(new Request());
static::getContainer()->get('request_stack')->push(new Request());
}

public function testValidData()
Expand Down

0 comments on commit cb4eb6e

Please sign in to comment.