mirror of
https://github.com/danog/psalm.git
synced 2024-11-30 04:39:00 +01:00
Rename to TestCase::assertHasIssue
This commit is contained in:
parent
cfd0fd1554
commit
08a479aede
@ -158,7 +158,7 @@ class TestCase extends BaseTestCase
|
||||
return $this->getName($withDataSet);
|
||||
}
|
||||
|
||||
public static function assertHasIssueType(string $expected, string $message = ''): void
|
||||
public static function assertHasIssue(string $expected, string $message = ''): void
|
||||
{
|
||||
$issue_messages = [];
|
||||
$res = false;
|
||||
|
@ -107,6 +107,6 @@ trait InvalidCodeAnalysisWithIssuesTestTrait
|
||||
$this->addFile($file_path, $code);
|
||||
$this->analyzeFile($file_path, new Context());
|
||||
|
||||
$this->assertHasIssueType($error_message);
|
||||
$this->assertHasIssue($error_message);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user