mirror of
https://github.com/SkillDisplay/PHPToolKit.git
synced 2024-11-16 22:06:08 +01:00
[TASK] Update Unit Tests for new version of PHPUnit, drop Unit Tests that match a specific SVG
This commit is contained in:
parent
71188fe34c
commit
ffd07689c6
5 changed files with 5 additions and 196 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,2 +1,3 @@
|
|||
/.idea/
|
||||
/vendor/
|
||||
.phpunit.result.cache
|
||||
|
|
|
@ -40,7 +40,7 @@ class BrandTest extends TestCase
|
|||
*/
|
||||
public function instanceCanNotBeCreatedViaConstructor()
|
||||
{
|
||||
$this->expectErrorMessage('Call to private SkillDisplay\PHPToolKit\Entity\Brand::__construct() from context \'SkillDisplay\PHPToolKit\Tests\Unit\Entity\BrandTest\'');
|
||||
$this->expectExceptionMessage('Call to private SkillDisplay\PHPToolKit\Entity\Brand::__construct() from scope SkillDisplay\PHPToolKit\Tests\Unit\Entity\BrandTest');
|
||||
new Brand();
|
||||
}
|
||||
|
||||
|
|
|
@ -41,7 +41,7 @@ class SkillSetTest extends TestCase
|
|||
*/
|
||||
public function instanceCanNotBeCreatedViaConstructor()
|
||||
{
|
||||
$this->expectErrorMessage('Call to private SkillDisplay\PHPToolKit\Entity\SkillSet::__construct() from context \'SkillDisplay\PHPToolKit\Tests\Unit\Entity\SkillSetTest\'');
|
||||
$this->expectExceptionMessage('Call to private SkillDisplay\PHPToolKit\Entity\SkillSet::__construct() from scope SkillDisplay\PHPToolKit\Tests\Unit\Entity\SkillSetTest');
|
||||
new SkillSet();
|
||||
}
|
||||
|
||||
|
|
|
@ -41,7 +41,7 @@ class SkillTest extends TestCase
|
|||
*/
|
||||
public function instanceCanNotBeCreatedViaConstructor()
|
||||
{
|
||||
$this->expectErrorMessage('Call to private SkillDisplay\PHPToolKit\Entity\Skill::__construct() from context \'SkillDisplay\PHPToolKit\Tests\Unit\Entity\SkillTest\'');
|
||||
$this->expectExceptionMessage('Call to private SkillDisplay\PHPToolKit\Entity\Skill::__construct() from scope SkillDisplay\PHPToolKit\Tests\Unit\Entity\SkillTest');
|
||||
new Skill();
|
||||
}
|
||||
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue