Browse Source

fix test for width change

pull/119/head
Aaron Parecki 2 years ago
parent
commit
2bec7a5cc0
Failed to extract signature
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      tests/ActivityStreamsTest.php

+ 1
- 1
tests/ActivityStreamsTest.php View File

@ -143,7 +143,7 @@ class ActivityStreamsTest extends PHPUnit\Framework\TestCase
$this->assertEquals("https://mastodon.social/@Gargron/100465999501820229", $data['data']['url']); $this->assertEquals("https://mastodon.social/@Gargron/100465999501820229", $data['data']['url']);
$this->assertEquals('2018-07-30T22:24:54+00:00', $data['data']['published']); $this->assertEquals('2018-07-30T22:24:54+00:00', $data['data']['published']);
$this->assertEquals(':yikes:', $data['data']['content']['text']); $this->assertEquals(':yikes:', $data['data']['content']['text']);
$this->assertEquals('<p><img src="https://files.mastodon.social/custom_emojis/images/000/031/275/original/yikes.png" alt=":yikes:" title=":yikes:" height="24" class="xray-emoji"></p>', $data['data']['content']['html']);
$this->assertEquals('<p><img src="https://files.mastodon.social/custom_emojis/images/000/031/275/original/yikes.png" alt=":yikes:" title=":yikes:" width="24" class="xray-emoji"></p>', $data['data']['content']['html']);
$this->assertEquals('Eugen', $data['data']['author']['name']); $this->assertEquals('Eugen', $data['data']['author']['name']);
$this->assertEquals('Gargron', $data['data']['author']['nickname']); $this->assertEquals('Gargron', $data['data']['author']['nickname']);
$this->assertEquals('https://files.mastodon.social/accounts/avatars/000/000/001/original/eb9e00274b135808.png', $data['data']['author']['photo']); $this->assertEquals('https://files.mastodon.social/accounts/avatars/000/000/001/original/eb9e00274b135808.png', $data['data']['author']['photo']);

Loading…
Cancel
Save