Release 2.12 (#4609)
This commit is contained in:
@@ -17,7 +17,7 @@ use PHPUnit\Framework\TestCase;
|
||||
*/
|
||||
class GoogleSourceTest extends TestCase
|
||||
{
|
||||
public function testConstruct()
|
||||
public function testConstruct(): void
|
||||
{
|
||||
$sut = new GoogleSource('0815', 'askdjfhlaksjdhflaksjhdflkjasdlkfjh', '#fffccc');
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@ use PHPUnit\Framework\TestCase;
|
||||
*/
|
||||
class GoogleTest extends TestCase
|
||||
{
|
||||
public function testConstruct()
|
||||
public function testConstruct(): void
|
||||
{
|
||||
$sources = [
|
||||
new GoogleSource('foo', '', '#ccc'),
|
||||
|
||||
@@ -19,7 +19,7 @@ use PHPUnit\Framework\TestCase;
|
||||
*/
|
||||
class RecentActivitiesSourceTest extends TestCase
|
||||
{
|
||||
public function testConstruct()
|
||||
public function testConstruct(): void
|
||||
{
|
||||
$entries = [new TimesheetEntry(new Timesheet(), '#cccccc')];
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ use PHPUnit\Framework\TestCase;
|
||||
*/
|
||||
class TimesheetEntryTest extends TestCase
|
||||
{
|
||||
public function testConstruct()
|
||||
public function testConstruct(): void
|
||||
{
|
||||
$project = new Project();
|
||||
$activity = new Activity();
|
||||
@@ -60,7 +60,7 @@ class TimesheetEntryTest extends TestCase
|
||||
$this->assertEquals($expectedData, $sut->getData());
|
||||
}
|
||||
|
||||
public function testEmpty()
|
||||
public function testEmpty(): void
|
||||
{
|
||||
$timesheet = new Timesheet();
|
||||
|
||||
@@ -78,7 +78,7 @@ class TimesheetEntryTest extends TestCase
|
||||
$this->assertEquals($expectedData, $sut->getData());
|
||||
}
|
||||
|
||||
public function testGetTitle()
|
||||
public function testGetTitle(): void
|
||||
{
|
||||
$project = new Project();
|
||||
$project->setName('sdfsdf');
|
||||
|
||||
Reference in New Issue
Block a user