Code Duplication    Length = 8-8 lines in 2 locations

api/tests/ModelsTest.php 2 locations

@@ 38-45 (lines=8) @@
35
	/**
36
	 * @group Coaches
37
	 */
38
	public function testGetRandomCoaches()
39
	{
40
		foreach (\App\Lib\Helpers\Config::get('generic.localesSmall', 'api/') as $nat) {
41
			$rndF = new \App\Lib\DsManager\Helpers\RandomFiller($nat);
42
			$coach = $rndF->getCoach();
43
			print_r($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', 'api/') as $nat) {
53
			$rndF = new \App\Lib\DsManager\Helpers\RandomFiller($nat);
54
			$player = $rndF->getPlayer();
55
			print_r($player->toArray());
56
		}
57
	}
58
59
	/**
60
	 * @group Team