Browse Source

fix test for quotation-of

pull/78/head
Aaron Parecki 2 years ago
parent
commit
6db2614afd
No known key found for this signature in database GPG Key ID: 276C2817346D6056
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      tests/ParseTest.php

+ 1
- 1
tests/ParseTest.php View File

@ -788,7 +788,7 @@ class ParseTest extends PHPUnit_Framework_TestCase {
$data = json_decode($body, true);
$this->assertEquals('I’m so making this into a t-shirt', $data['data']['content']['text']);
$this->assertEquals('https://twitter.com/gitlost/status/1015005409726357504', $data['data']['quotation-of'][0]);
$this->assertEquals('https://twitter.com/gitlost/status/1015005409726357504', $data['data']['quotation-of']);
$this->assertArrayHasKey('https://twitter.com/gitlost/status/1015005409726357504', $data['data']['refs']);
$q = $data['data']['refs']['https://twitter.com/gitlost/status/1015005409726357504'];
$this->assertEquals("Still can't git fer shit", $q['content']['text']);

Loading…
Cancel
Save