@@ 38-45 (lines=8) @@ | ||
35 | /** |
|
36 | * @group Coaches |
|
37 | */ |
|
38 | public function testGetRandomCoaches() |
|
39 | { |
|
40 | foreach (\App\Lib\Helpers\Config::get('generic.localesSmall') as $nat) { |
|
41 | $rndF = new \App\Lib\DsManager\Helpers\RandomFiller($nat); |
|
42 | $coach = $rndF->getCoach(); |
|
43 | $this->assertNotEmpty($coach->toArray()); |
|
44 | } |
|
45 | } |
|
46 | ||
47 | /** |
|
48 | * @group Players |
|
@@ 50-57 (lines=8) @@ | ||
47 | /** |
|
48 | * @group Players |
|
49 | */ |
|
50 | public function testGetRandomPlayers() |
|
51 | { |
|
52 | foreach (\App\Lib\Helpers\Config::get('generic.localesSmall') as $nat) { |
|
53 | $rndF = new \App\Lib\DsManager\Helpers\RandomFiller($nat); |
|
54 | $player = $rndF->getPlayer(); |
|
55 | $this->assertNotEmpty($player->toArray()); |
|
56 | } |
|
57 | } |
|
58 | ||
59 | /** |
|
60 | * @group Team |