File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -318,7 +318,7 @@ private function GetHttpHeaders($idempotencyKey = null)
318
318
// ...or initialize with default headers
319
319
$ this ->_requestHttpHeaders = [];
320
320
// content type
321
- array_push ($ this ->_requestHttpHeaders , self ::$ _JSON_HEADER );
321
+ // array_push($this->_requestHttpHeaders, self::$_JSON_HEADER);
322
322
// Add User-Agent Header
323
323
324
324
array_push ($ this ->_requestHttpHeaders , 'User-Agent: Mangopay-SDK/ ' . self ::VERSION . ' (PHP/ ' . phpversion () . ') ' );
Original file line number Diff line number Diff line change @@ -41,12 +41,11 @@ public function test_Reports_Get()
41
41
{
42
42
$ report = $ this ->getNewReportInstance ();
43
43
$ created = $ this ->_api ->ReportsV2 ->Create ($ report );
44
- // $fetched = $this->_api->ReportsV2->Get("report_01JWBVEWK1BVK98KDF0YNBBJVH");
45
44
$ fetched = $ this ->_api ->ReportsV2 ->Get ($ report ->Id );
46
45
47
46
$ this ->assertNotNull ($ fetched );
48
47
$ this ->assertNotNull ($ fetched ->Id );
49
- // $this->assertSame($created->Id, $fetched->Id);
48
+ $ this ->assertSame ($ created ->Id , $ fetched ->Id );
50
49
}
51
50
52
51
public function test_Reports_GetAll ()
You can’t perform that action at this time.
0 commit comments