function EntityResourceRestTestCoverageTest::getLlamaMessage

Message from Llama.

Parameters

int $g: A count of entities with test coverage.

int $a: A count of all entities.

Return value

string An information about progress of REST test coverage.

1 call to EntityResourceRestTestCoverageTest::getLlamaMessage()
EntityResourceRestTestCoverageTest::testEntityTypeRestTestCoverage in core/modules/rest/tests/src/Functional/EntityResource/EntityResourceRestTestCoverageTest.php
Tests that all core content/config entity types have REST test coverage.

File

core/modules/rest/tests/src/Functional/EntityResource/EntityResourceRestTestCoverageTest.php, line 131

Class

EntityResourceRestTestCoverageTest
Checks that all core content/config entity types have REST test coverage.

Namespace

Drupal\Tests\rest\Functional\EntityResource

Code

protected function getLlamaMessage($g, $a) {
    return "\n☼\n      ________________________\n     /           Hi!          \\\n    |  It's llame to not have  |\n    |   complete REST tests!   |\n    |                          |\n    |     Progress: {$g}/{$a}.     |\n    | ________________________/\n    |/\n//  o\nl'>\nll\nllama\n|| ||\n'' ''\n";
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.