first commit
This commit is contained in:
21
modules/gamification/tests/unit/BadgeTest.php
Normal file
21
modules/gamification/tests/unit/BadgeTest.php
Normal file
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
class BadgeTest extends TestCase
|
||||
{
|
||||
/**
|
||||
* @var Badge
|
||||
*/
|
||||
private $badge;
|
||||
|
||||
protected function setUp()
|
||||
{
|
||||
$this->badge = new Badge();
|
||||
}
|
||||
|
||||
public function testImgUrl()
|
||||
{
|
||||
$this->assertStringStartsWith(__PS_BASE_URI__, $this->badge->getBadgeImgUrl());
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user