Skip to content

Commit

Permalink
seems that we are using old phpunit still
Browse files Browse the repository at this point in the history
  • Loading branch information
jablan committed Nov 8, 2024
1 parent 40dc7be commit 6d9db68
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clients/php/test/Api/UploadsApiTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,8 @@ public function testUploadCreate()
$lastRequest = $this->history[count($this->history) - 1]['request'];
$this->assertEquals('POST', $lastRequest->getMethod());
$this->assertEquals('/v2/projects/'.$projectId.'/uploads', $lastRequest->getUri()->getPath());
$this->assertStringContainsString('multipart/form-data', $lastRequest->getHeader('Content-Type')[0]);
$this->assertStringContainsString("Content-Disposition: form-data; name=\"locale_mapping[en][bar]\"\r\nContent-Length: 3\r\n\r\nbaz\r\n", $lastRequest->getBody()->getContents());
$this->assertContains('multipart/form-data', $lastRequest->getHeader('Content-Type')[0]);
$this->assertContains("Content-Disposition: form-data; name=\"locale_mapping[en][bar]\"\r\nContent-Length: 3\r\n\r\nbaz\r\n", $lastRequest->getBody()->getContents());
}

/**
Expand Down

0 comments on commit 6d9db68

Please sign in to comment.