File tree Expand file tree Collapse file tree 2 files changed +25
-1
lines changed
Expand file tree Collapse file tree 2 files changed +25
-1
lines changed Original file line number Diff line number Diff line change @@ -105,8 +105,12 @@ public function getDescriptionHtml(): ?string
105105 return null ;
106106 }
107107
108+ /**
109+ * @psalm-suppress MixedOperand
110+ * @psalm-suppress MixedArgument
111+ */
108112 public function getFullName (): ?string
109113 {
110- return null ;
114+ return get_class ( $ this -> test -> getTestClass ()) . " :: " . $ this -> test -> getTestMethod () ;
111115 }
112116}
Original file line number Diff line number Diff line change 1+ <?php
2+
3+ declare (strict_types=1 );
4+
5+ namespace Qameta \Allure \Codeception \Test \Unit ;
6+
7+ use Codeception \Test \Cest ;
8+ use Codeception \Test \Unit ;
9+ use Qameta \Allure \Codeception \Internal \CestProvider ;
10+
11+ class CestProviderTest extends Unit
12+ {
13+ public function testFullName (): void
14+ {
15+ $ cest = new Cest ($ this , 'a ' , 'b ' );
16+ $ cestProvider = new CestProvider ($ cest );
17+
18+ $ this ->assertSame (__CLASS__ . ':: ' . 'a ' , $ cestProvider ->getFullName ());
19+ }
20+ }
You can’t perform that action at this time.
0 commit comments