File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ public function testCreateIssue() {
96
96
$ this ->assertEquals ( 'none ' , $ issue ->eta ->name );
97
97
$ this ->assertEquals ( 10 , $ issue ->resolution ->id );
98
98
$ this ->assertEquals ( 'open ' , $ issue ->resolution ->name );
99
- $ this ->assertEquals ( 0 , $ issue ->sticky );
99
+ $ this ->assertEquals ( false , $ issue ->sticky );
100
100
101
101
}
102
102
@@ -146,7 +146,7 @@ public function testCreateIssueWithRareFields() {
146
146
$ issueToAdd ['status ' ] = array ( 'id ' => 40 ); // confirmed
147
147
$ issueToAdd ['fixed_in_version ' ] = 'fixed version ' ;
148
148
$ issueToAdd ['target_version ' ] = 'target version ' ;
149
- $ issueToAdd ['sticky ' ] = 1 ;
149
+ $ issueToAdd ['sticky ' ] = true ;
150
150
151
151
$ issueId = $ this ->client ->mc_issue_add (
152
152
$ this ->userName ,
Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ public function testUpdateSummaryBasedOnMandatoryFields() {
112
112
$ this ->deleteAfterRun ( $ issueId );
113
113
114
114
$ issueToUpdate = $ this ->getIssueToAdd ( 'IssueUpdateTest.testUpdateSummaryBasedOnMandatoryFields ' );
115
- $ issueToUpdate ['sticky ' ] = ' 1 ' ;
115
+ $ issueToUpdate ['sticky ' ] = true ;
116
116
117
117
$ this ->client ->mc_issue_update (
118
118
$ this ->userName ,
You can’t perform that action at this time.
0 commit comments