@@ -65,7 +65,7 @@ protected function setUp(): void
6565 public function testCreateDeploymentSuccess ()
6666 {
6767 $ description = 'Test deployment ' ;
68- $ changelog = 'Bug fixes ' ;
68+ $ change = 'Bug fixes ' ;
6969 $ user = 'deploy-user ' ;
7070 $ version = 'v1.0.0 ' ;
7171 $ commit = 'abc123 ' ;
@@ -86,7 +86,7 @@ public function testCreateDeploymentSuccess()
8686 'version ' => $ version ,
8787 'description ' => $ description ,
8888 'user ' => $ user ,
89- 'changelog ' => $ changelog ,
89+ 'change_log ' => $ change ,
9090 'commit ' => $ commit ,
9191 'deepLink ' => $ deepLink ,
9292 'groupId ' => $ groupId
@@ -102,7 +102,7 @@ public function testCreateDeploymentSuccess()
102102 $ entityGuid ,
103103 $ description ,
104104 $ version ,
105- $ changelog ,
105+ $ change ,
106106 $ user ,
107107 $ commit ,
108108 $ deepLink ,
@@ -112,7 +112,7 @@ public function testCreateDeploymentSuccess()
112112 $ variables ['deployment ' ]['entityGuid ' ] === $ entityGuid &&
113113 $ variables ['deployment ' ]['description ' ] === $ description &&
114114 $ variables ['deployment ' ]['version ' ] === $ version &&
115- $ variables ['deployment ' ]['changelog ' ] === $ changelog &&
115+ $ variables ['deployment ' ]['change_log ' ] === $ change &&
116116 $ variables ['deployment ' ]['user ' ] === $ user &&
117117 $ variables ['deployment ' ]['commit ' ] === $ commit &&
118118 $ variables ['deployment ' ]['deepLink ' ] === $ deepLink &&
@@ -127,7 +127,7 @@ public function testCreateDeploymentSuccess()
127127
128128 $ result = $ this ->deploymentTracker ->createDeployment (
129129 $ description ,
130- $ changelog ,
130+ $ change ,
131131 $ user ,
132132 $ version ,
133133 $ commit ,
@@ -140,7 +140,7 @@ public function testCreateDeploymentSuccess()
140140 $ this ->assertEquals ($ entityGuid , $ result ['entityGuid ' ]);
141141 $ this ->assertEquals ($ version , $ result ['version ' ]);
142142 $ this ->assertEquals ($ description , $ result ['description ' ]);
143- $ this ->assertEquals ($ changelog , $ result ['changelog ' ]);
143+ $ this ->assertEquals ($ change , $ result ['change_log ' ]);
144144 $ this ->assertEquals ($ user , $ result ['user ' ]);
145145 $ this ->assertEquals ($ commit , $ result ['commit ' ]);
146146 $ this ->assertEquals ($ deepLink , $ result ['deepLink ' ]);
@@ -180,7 +180,7 @@ public function testCreateDeploymentWithMinimalParameters()
180180 return isset ($ variables ['deployment ' ]) &&
181181 $ variables ['deployment ' ]['entityGuid ' ] === $ entityGuid &&
182182 $ variables ['deployment ' ]['description ' ] === $ description &&
183- !isset ($ variables ['deployment ' ]['changelog ' ]) &&
183+ !isset ($ variables ['deployment ' ]['change_log ' ]) &&
184184 !isset ($ variables ['deployment ' ]['user ' ]);
185185 })
186186 )
@@ -527,7 +527,7 @@ public function testCreateDeploymentWithSpecialCharacters()
527527 public function testCreateDeploymentWithLongParameters ()
528528 {
529529 $ description = str_repeat ('A ' , 1000 );
530- $ changelog = str_repeat ('B ' , 2000 );
530+ $ change = str_repeat ('B ' , 2000 );
531531 $ user = str_repeat ('C ' , 100 );
532532 $ entityGuid = 'TEST_ENTITY_GUID ' ;
533533
@@ -542,7 +542,7 @@ public function testCreateDeploymentWithLongParameters()
542542 'entityGuid ' => $ entityGuid ,
543543 'timestamp ' => 1234567890000 ,
544544 'description ' => $ description ,
545- 'changelog ' => $ changelog ,
545+ 'change_log ' => $ change ,
546546 'user ' => $ user
547547 ]
548548 ]
@@ -556,7 +556,7 @@ public function testCreateDeploymentWithLongParameters()
556556 ->method ('info ' )
557557 ->with ('NerdGraph deployment created successfully ' );
558558
559- $ result = $ this ->deploymentTracker ->createDeployment ($ description , $ changelog , $ user );
559+ $ result = $ this ->deploymentTracker ->createDeployment ($ description , $ change , $ user );
560560
561561 $ this ->assertIsArray ($ result );
562562 $ this ->assertArrayHasKey ('deploymentId ' , $ result );
@@ -568,7 +568,7 @@ public function testCreateDeploymentWithLongParameters()
568568 public function testCreateDeploymentMutationStructure ()
569569 {
570570 $ description = 'Test deployment ' ;
571- $ changelog = 'Bug fixes ' ;
571+ $ change = 'Bug fixes ' ;
572572 $ user = 'deploy-user ' ;
573573 $ version = 'v1.0.0 ' ;
574574 $ commit = 'abc123 ' ;
@@ -596,7 +596,7 @@ public function testCreateDeploymentMutationStructure()
596596 $ this ->callback (function ($ variables ) use (
597597 $ entityGuid ,
598598 $ description ,
599- $ changelog ,
599+ $ change ,
600600 $ user ,
601601 $ version ,
602602 $ commit ,
@@ -606,7 +606,7 @@ public function testCreateDeploymentMutationStructure()
606606 return isset ($ variables ['deployment ' ]) &&
607607 $ variables ['deployment ' ]['entityGuid ' ] === $ entityGuid &&
608608 $ variables ['deployment ' ]['description ' ] === $ description &&
609- $ variables ['deployment ' ]['changelog ' ] === $ changelog &&
609+ $ variables ['deployment ' ]['change_log ' ] === $ change &&
610610 $ variables ['deployment ' ]['user ' ] === $ user &&
611611 $ variables ['deployment ' ]['version ' ] === $ version &&
612612 $ variables ['deployment ' ]['commit ' ] === $ commit &&
@@ -622,7 +622,7 @@ public function testCreateDeploymentMutationStructure()
622622
623623 $ result = $ this ->deploymentTracker ->createDeployment (
624624 $ description ,
625- $ changelog ,
625+ $ change ,
626626 $ user ,
627627 $ version ,
628628 $ commit ,
0 commit comments