Skip to content

Commit bb22ef0

Browse files
committed
fix test annotation and one line separation issues
1 parent 63220c7 commit bb22ef0

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

More/Delegation/TeamLead.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ public function writeCode(): string
2121
{
2222
return $this->junior->writeBadCode();
2323
}
24+
2425
public function writeBadCode(): string
2526
{
2627
//note that we are passing $this from teamLead context

More/Delegation/Tests/DelegationTest.php

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,21 +7,15 @@
77

88
class DelegationTest extends TestCase
99
{
10-
/**
11-
* @test
12-
*/
13-
public function teamLeadCanBlameJuniorForBadCode()
10+
public function testTeamLeadCanBlameJuniorForBadCode()
1411
{
1512
$junior = new Delegation\JuniorDeveloper();
1613
$teamLead = new Delegation\TeamLead($junior);
1714

1815
$this->assertEquals($junior->writeBadCode(), $teamLead->writeCode());
1916
}
2017

21-
/**
22-
* @test
23-
*/
24-
public function teamLeadCanWriteBadCode()
18+
public function testTeamLeadCanWriteBadCode()
2519
{
2620
$junior = new Delegation\JuniorDeveloper();
2721
$teamLead = new Delegation\TeamLead($junior);

0 commit comments

Comments
 (0)