-
-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removes tests targeting deprecated and removed methods
Signed-off-by: George Steel <[email protected]>
- Loading branch information
Showing
2 changed files
with
0 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -274,34 +274,4 @@ public function testEmailIsProperlyNormalized(): void | |
$this->helper->__invoke('[email protected] ')->getEmail() | ||
); | ||
} | ||
|
||
public function testSetAttribsIsDeprecated(): void | ||
{ | ||
$this->expectDeprecation(); | ||
|
||
$this->helper->setAttribs([]); | ||
} | ||
|
||
public function testSetAttribsDocCommentHasDeprecated(): void | ||
{ | ||
$method = new ReflectionMethod($this->helper, 'setAttribs'); | ||
$comment = $method->getDocComment(); | ||
|
||
$this->assertStringContainsString('@deprecated', $comment); | ||
} | ||
|
||
public function testGetAttribsIsDeprecated(): void | ||
{ | ||
$this->expectDeprecation(); | ||
|
||
$this->helper->getAttribs(); | ||
} | ||
|
||
public function testGetAttribsDocCommentHasDeprecated(): void | ||
{ | ||
$method = new ReflectionMethod($this->helper, 'getAttribs'); | ||
$comment = $method->getDocComment(); | ||
|
||
$this->assertStringContainsString('@deprecated', $comment); | ||
} | ||
} |