Code Duplication    Length = 15-15 lines in 2 locations

tests/Functional/BasicTest.php 2 locations

@@ 8-22 (lines=15) @@
5
class BasicTest extends AbstractTestCase
6
{
7
8
    public function testDeploy()
9
    {
10
		$response = $this->runApp(
11
			file_get_contents(__DIR__ . '/data/pipeline.json'),
12
			[
13
				'HOOK_PROJECT_PATH' => 'gitlab-org/gitlab-test',
14
				'HOOK_BUILD_ID' => 379,
15
				'HOOK_BUILD_REF' => 'bcbb5ec396a2c0f828686f14fac9b80b780504f2',
16
				'HOOK_ENV_NAME' => 'staging'
17
			],
18
			'bash /testing-dir/script.bash deploy'
19
		);
20
21
        $this->assertEquals(200, $response->getStatusCode());
22
    }
23
24
25
    public function testPush()
@@ 45-59 (lines=15) @@
42
    }
43
44
45
	public function testPushTag()
46
	{
47
		$response = $this->runApp(
48
			file_get_contents(__DIR__ . '/data/tag.json'),
49
			[
50
				'HOOK_PROJECT_PATH' => 'jsmith/example',
51
				'HOOK_REF' => 'refs/tags/v1.0.0',
52
				'HOOK_TAG' => 'v1.0.0',
53
				'HOOK_BUILD_REF' => '82b3d5ae55f7080f1e6022629cdb57bfae7cccc7'
54
			],
55
			'bash /testing-dir/script.bash tag'
56
		);
57
58
		$this->assertEquals(200, $response->getStatusCode());
59
	}
60
61
62
	public function testNo()