Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitfba2da2

Browse files
corphixabbuh
authored andcommitted
Calling the parent implementation is mandatory.
Among other things, `parent::setUp()` will call `getExtensions()` that uses the private variables.
1 parentb20e1ca commitfba2da2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎cookbook/form/unit_testing.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,8 @@ make sure the ``FormRegistry`` uses the created instance::
133133
{
134134
// mock any dependencies
135135
$this->entityManager = $this->getMock('Doctrine\Common\Persistence\ObjectManager');
136+
137+
parent::setUp();
136138
}
137139

138140
protected function getExtensions()

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp