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

Appearance settings

Commit e958c21

Browse filesBrowse files
[Testing] update deprecation
1 parent acf56a4 commit e958c21
Copy full SHA for e958c21

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

‎testing.rst

Copy file name to clipboardExpand all lines: testing.rst
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -609,7 +609,7 @@ to simulate a login request::
609609
public function testVisitingWhileLoggedIn()
610610
{
611611
$client = static::createClient();
612-
$userRepository = static::$container->get(UserRepository::class);
612+
$userRepository = static::getContainer()->get(UserRepository::class);
613613

614614
// retrieve the test user
615615
$testUser = $userRepository->findOneByEmail('john.doe@example.com');

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.