@@ -56,10 +56,10 @@ discard block |
||
56 | 56 | $descriptionEntity = $this->getDescriptionColumnEntity(); |
57 | 57 | |
58 | 58 | return array( |
59 | - array($descriptionEntity, null, null, 0 ,5 , 5), |
|
60 | - array($descriptionEntity, $this->generateSearchProvider('admin'), null, 0 ,5 , 1), |
|
61 | - array($descriptionEntity, $this->generateSearchProvider('fakeUsername'), null, 0 ,5 , 0), |
|
62 | - array($descriptionEntity, $this->generateSearchProvider('', 'user'), null, 0 ,5 , 5), |
|
59 | + array($descriptionEntity, null, null, 0, 5, 5), |
|
60 | + array($descriptionEntity, $this->generateSearchProvider('admin'), null, 0, 5, 1), |
|
61 | + array($descriptionEntity, $this->generateSearchProvider('fakeUsername'), null, 0, 5, 0), |
|
62 | + array($descriptionEntity, $this->generateSearchProvider('', 'user'), null, 0, 5, 5), |
|
63 | 63 | ); |
64 | 64 | } |
65 | 65 | |
@@ -110,7 +110,7 @@ discard block |
||
110 | 110 | */ |
111 | 111 | public function testFindByUsernameWithoutGroup($username, $groupName, $countUser) |
112 | 112 | { |
113 | - $group = static::$kernel->getContainer()->get('open_orchestra_user.repository.group')->findOneByName($groupName); |
|
113 | + $group = static::$kernel->getContainer()->get('open_orchestra_user.repository.group')->findOneByName($groupName); |
|
114 | 114 | $users = $this->repository->findByUsernameWithoutGroup($username, $group); |
115 | 115 | |
116 | 116 | $this->assertCount($countUser, $users); |