diff options
Diffstat (limited to 'tests/lib/UtilTest.php')
-rw-r--r-- | tests/lib/UtilTest.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/lib/UtilTest.php b/tests/lib/UtilTest.php index c68f8d00a40..33c15565b92 100644 --- a/tests/lib/UtilTest.php +++ b/tests/lib/UtilTest.php @@ -29,6 +29,9 @@ class UtilTest extends \Test\TestCase { $this->assertTrue(is_string($edition)); } + /** + * @group DB + */ function testFormatDate() { date_default_timezone_set("UTC"); @@ -41,6 +44,9 @@ class UtilTest extends \Test\TestCase { $this->assertEquals($expected, $result); } + /** + * @group DB + */ function testFormatDateWithTZ() { date_default_timezone_set("UTC"); @@ -69,6 +75,7 @@ class UtilTest extends \Test\TestCase { /** * @dataProvider formatDateWithTZFromSessionData + * @group DB */ function testFormatDateWithTZFromSession($offset, $expected, $expectedTimeZone) { date_default_timezone_set("UTC"); @@ -285,6 +292,7 @@ class UtilTest extends \Test\TestCase { * Test default apps * * @dataProvider defaultAppsProvider + * @group DB */ function testDefaultApps($defaultAppConfig, $expectedPath, $enabledApps) { $oldDefaultApps = \OCP\Config::getSystemValue('defaultapp', ''); |