Merge pull request #1878 from ArthurHoaro/fix/github-assets-429
This commit is contained in:
commit
51603fe265
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ protected function tearDown(): void
|
||||||
*/
|
*/
|
||||||
public function testThumbnailAllValid()
|
public function testThumbnailAllValid()
|
||||||
{
|
{
|
||||||
$thumb = $this->thumbnailer->get('https://github.com/shaarli/Shaarli/');
|
$thumb = $this->thumbnailer->get('https://gitlab.com/shaarli/Shaarli');
|
||||||
$this->assertNotFalse($thumb);
|
$this->assertNotFalse($thumb);
|
||||||
$image = imagecreatefromstring(file_get_contents($thumb));
|
$image = imagecreatefromstring(file_get_contents($thumb));
|
||||||
$this->assertEquals(self::WIDTH, imagesx($image));
|
$this->assertEquals(self::WIDTH, imagesx($image));
|
||||||
|
|
Loading…
Reference in a new issue