BaguettePHP/mastodon-api

View on GitHub
tests/Entity/AttachmentTest.php

Summary

Maintainability
A
0 mins
Test Coverage

Call to undeclared method \Baguette\Mastodon\Entity\AttachmentTest::assertEquals
Open

        $this->assertEquals(isset($input['text_url'])    ? $input['text_url']    : null, $actual->text_url);
Severity: Critical
Found in tests/Entity/AttachmentTest.php by phan

Call to undeclared method \Baguette\Mastodon\Entity\AttachmentTest::assertEquals
Open

        $this->assertEquals(isset($input['id'])   ? $input['id']   : null, $actual->id);
Severity: Critical
Found in tests/Entity/AttachmentTest.php by phan

Call to undeclared method \Baguette\Mastodon\Entity\AttachmentTest::assertEquals
Open

        $this->assertEquals(isset($input['remote_url'])  ? $input['remote_url']  : null, $actual->remote_url);
Severity: Critical
Found in tests/Entity/AttachmentTest.php by phan

Call to undeclared method \Baguette\Mastodon\Entity\AttachmentTest::assertEquals
Open

        $this->assertEquals($expected['toArray'], toArrayValue($actual));
Severity: Critical
Found in tests/Entity/AttachmentTest.php by phan

Call to undeclared method \Baguette\Mastodon\Entity\AttachmentTest::assertEquals
Open

        $this->assertEquals(isset($input['preview_url']) ? $input['preview_url'] : null, $actual->preview_url);
Severity: Critical
Found in tests/Entity/AttachmentTest.php by phan

Call to undeclared method \Baguette\Mastodon\Entity\AttachmentTest::assertEquals
Open

        $this->assertEquals(isset($input['type']) ? $input['type'] : null, $actual->type);
Severity: Critical
Found in tests/Entity/AttachmentTest.php by phan

Call to undeclared method \Baguette\Mastodon\Entity\AttachmentTest::assertEquals
Open

        $this->assertEquals(isset($input['url'])  ? $input['url']  : null, $actual->url);
Severity: Critical
Found in tests/Entity/AttachmentTest.php by phan

There are no issues that match your filters.

Category
Status