diff --git a/src/Internal/CestProvider.php b/src/Internal/CestProvider.php index 9ff8019..7676916 100644 --- a/src/Internal/CestProvider.php +++ b/src/Internal/CestProvider.php @@ -105,8 +105,12 @@ public function getDescriptionHtml(): ?string return null; } + /** + * @psalm-suppress MixedOperand + * @psalm-suppress MixedArgument + */ public function getFullName(): ?string { - return null; + return get_class($this->test->getTestClass()) . "::" . $this->test->getTestMethod(); } } diff --git a/test/codeception/unit/CestProviderTest.php b/test/codeception/unit/CestProviderTest.php new file mode 100644 index 0000000..1c6cc7b --- /dev/null +++ b/test/codeception/unit/CestProviderTest.php @@ -0,0 +1,20 @@ +assertSame(__CLASS__ . '::' . 'a', $cestProvider->getFullName()); + } +}