BaguettePHP/mastodon-api

View on GitHub
tests/Entity/AccountTest.php

Summary

Maintainability
A
0 mins
Test Coverage

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

There are no issues that match your filters.

Category
Status