Format code using php-cs-fixer
This commit is contained in:
parent
43d7dc92cd
commit
d52c6184b9
352 changed files with 17473 additions and 17041 deletions
|
@ -1,9 +1,13 @@
|
|||
<?php
|
||||
require_once "../application/configs/conf.php";
|
||||
|
||||
require_once '../application/configs/conf.php';
|
||||
|
||||
/**
|
||||
* @internal
|
||||
* @coversNothing
|
||||
*/
|
||||
class PreferenceUnitTest extends PHPUnit_Framework_TestCase
|
||||
{
|
||||
|
||||
public function setUp()
|
||||
{
|
||||
TestHelper::installTestDatabase();
|
||||
|
@ -13,9 +17,8 @@ class PreferenceUnitTest extends PHPUnit_Framework_TestCase
|
|||
|
||||
public function testSetShowsPopulatedUntil()
|
||||
{
|
||||
$date = new DateTime("2040-01-01T12:00:00.000000Z");
|
||||
$date = new DateTime('2040-01-01T12:00:00.000000Z');
|
||||
Application_Model_Preference::SetShowsPopulatedUntil($date);
|
||||
$this->assertEquals(Application_Model_Preference::GetShowsPopulatedUntil(), $date);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue