Skip to content

Commit 6bdcec4

Browse files
author
Iulian Masar
committed
updated test
1 parent 28c36a3 commit 6bdcec4

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

MangoPay/Libraries/RestTool.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ private function GetHttpHeaders($idempotencyKey = null)
318318
// ...or initialize with default headers
319319
$this->_requestHttpHeaders = [];
320320
// content type
321-
array_push($this->_requestHttpHeaders, self::$_JSON_HEADER);
321+
// array_push($this->_requestHttpHeaders, self::$_JSON_HEADER);
322322
// Add User-Agent Header
323323

324324
array_push($this->_requestHttpHeaders, 'User-Agent: Mangopay-SDK/' . self::VERSION . ' (PHP/' . phpversion() . ')');

tests/Cases/ReportsV2Test.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,11 @@ public function test_Reports_Get()
4141
{
4242
$report = $this->getNewReportInstance();
4343
$created = $this->_api->ReportsV2->Create($report);
44-
// $fetched = $this->_api->ReportsV2->Get("report_01JWBVEWK1BVK98KDF0YNBBJVH");
4544
$fetched = $this->_api->ReportsV2->Get($report->Id);
4645

4746
$this->assertNotNull($fetched);
4847
$this->assertNotNull($fetched->Id);
49-
// $this->assertSame($created->Id, $fetched->Id);
48+
$this->assertSame($created->Id, $fetched->Id);
5049
}
5150

5251
public function test_Reports_GetAll()

0 commit comments

Comments
 (0)