Release 1.30 (#3651)
* exclude all 403 and 404 from logs * bump version * cleanup tag handling * prevent mandatory user preferences turning null
This commit is contained in:
@@ -10,7 +10,6 @@
|
||||
namespace App\Tests\Entity;
|
||||
|
||||
use App\Entity\Tag;
|
||||
use App\Entity\Timesheet;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
/**
|
||||
@@ -40,20 +39,4 @@ class TagTest extends TestCase
|
||||
$sut->setColor('#fffccc');
|
||||
$this->assertEquals('#fffccc', $sut->getColor());
|
||||
}
|
||||
|
||||
public function testWithTimesheet()
|
||||
{
|
||||
$sut = new Tag();
|
||||
$timesheet = new Timesheet();
|
||||
|
||||
$this->assertEmpty($timesheet->getTags());
|
||||
|
||||
$sut->setName('bar');
|
||||
$sut->addTimesheet($timesheet);
|
||||
|
||||
$this->assertSame($sut, $timesheet->getTags()[0]);
|
||||
|
||||
$sut->removeTimesheet($timesheet);
|
||||
$this->assertEmpty($timesheet->getTags());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user