@@ 376-385 (lines=10) @@ | ||
373 | $this->assertInstanceOf('DateTime', $item2->getDateCreated()); |
|
374 | } |
|
375 | ||
376 | public function testDeleteItem() |
|
377 | { |
|
378 | // Set mocked response |
|
379 | $body = new Stream(fopen('data://text/plain,[]', 'r')); |
|
380 | $this->subscriber->addResponse(new Response(200, [], $body)); |
|
381 | ||
382 | $this->client->deleteItem(''); |
|
383 | // If we reach this point, the everything worked |
|
384 | $this->assertTrue(true); |
|
385 | } |
|
386 | ||
387 | public function testResetItemScore() |
|
388 | { |
|
@@ 387-396 (lines=10) @@ | ||
384 | $this->assertTrue(true); |
|
385 | } |
|
386 | ||
387 | public function testResetItemScore() |
|
388 | { |
|
389 | // Set mocked response |
|
390 | $body = new Stream(fopen('data://text/plain,[]', 'r')); |
|
391 | $this->subscriber->addResponse(new Response(200, [], $body)); |
|
392 | ||
393 | $this->client->resetItemScore(''); |
|
394 | // If we reach this point, the everything worked |
|
395 | $this->assertTrue(true); |
|
396 | } |
|
397 | ||
398 | public function testGetUserData() |
|
399 | { |