Skip to content

Commit

Permalink
Fix support with PHPUnit 9
Browse files Browse the repository at this point in the history
  • Loading branch information
Art4 committed Jul 8, 2024
1 parent 2edd582 commit 0f8257a
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions tests/Unit/Api/IssueTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -199,13 +199,11 @@ public function testCreateWithClientCleansParameters()
->method('requestPost')
->with(
'/issues.xml',
$this->stringEqualsStringIgnoringLineEndings(
<<< XML
<?xml version="1.0"?>
<issue><project_id>1</project_id><category_id>5</category_id><status_id>cleanedValue</status_id><tracker_id>cleanedValue</tracker_id><assigned_to_id>cleanedValue</assigned_to_id><author_id>cleanedValue</author_id></issue>
<<< XML
<?xml version="1.0"?>
<issue><project_id>1</project_id><category_id>5</category_id><status_id>cleanedValue</status_id><tracker_id>cleanedValue</tracker_id><assigned_to_id>cleanedValue</assigned_to_id><author_id>cleanedValue</author_id></issue>
XML,
),
XML,
)
->willReturn(true);
$client->expects($this->exactly(1))
Expand Down

0 comments on commit 0f8257a

Please sign in to comment.