diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2015-12-08 16:54:59 +0300 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2015-12-08 16:54:59 +0300 |
commit | 81575433c3d920abe4853af9922d0ef97e907a82 (patch) | |
tree | 1c2f4e0c89093d58e3916dd5e5ec645b6590aecd /tests | |
parent | 489d9283b5780a3ad75da18c69568db7c8eb6fde (diff) | |
parent | f45a0578c2c3ce37176f8de2cdf4d2e94ccad2c8 (diff) |
Merge pull request #52 from owncloud/unit-test-group
Add unit test group for DB depending tests
Diffstat (limited to 'tests')
-rw-r--r-- | tests/unit/appinfo/AppTest.php | 6 | ||||
-rw-r--r-- | tests/unit/appinfo/ApplicationTest.php | 6 | ||||
-rw-r--r-- | tests/unit/appinfo/RoutesTest.php | 6 | ||||
-rw-r--r-- | tests/unit/lib/HandlerTest.php | 6 |
4 files changed, 24 insertions, 0 deletions
diff --git a/tests/unit/appinfo/AppTest.php b/tests/unit/appinfo/AppTest.php index e006042..203f994 100644 --- a/tests/unit/appinfo/AppTest.php +++ b/tests/unit/appinfo/AppTest.php @@ -24,6 +24,12 @@ namespace OCA\Notifications\Tests\AppInfo; use OCA\Notifications\Tests\Unit\TestCase; use OCP\IUser; +/** + * Class AppTest + * + * @group DB + * @package OCA\Notifications\Tests\AppInfo + */ class AppTest extends TestCase { /** @var \OC\Notification\IManager|\PHPUnit_Framework_MockObject_MockObject */ protected $manager; diff --git a/tests/unit/appinfo/ApplicationTest.php b/tests/unit/appinfo/ApplicationTest.php index 2e109c3..6e821de 100644 --- a/tests/unit/appinfo/ApplicationTest.php +++ b/tests/unit/appinfo/ApplicationTest.php @@ -24,6 +24,12 @@ namespace OCA\Notifications\Tests\AppInfo; use OCA\Notifications\AppInfo\Application; use OCA\Notifications\Tests\Unit\TestCase; +/** + * Class ApplicationTest + * + * @group DB + * @package OCA\Notifications\Tests\AppInfo + */ class ApplicationTest extends TestCase { /** @var \OCA\Notifications\AppInfo\Application */ protected $app; diff --git a/tests/unit/appinfo/RoutesTest.php b/tests/unit/appinfo/RoutesTest.php index b234670..d109dd7 100644 --- a/tests/unit/appinfo/RoutesTest.php +++ b/tests/unit/appinfo/RoutesTest.php @@ -23,6 +23,12 @@ namespace OCA\Notifications\Tests\AppInfo; use OCA\Notifications\Tests\Unit\TestCase; +/** + * Class RoutesTest + * + * @group DB + * @package OCA\Notifications\Tests\AppInfo + */ class RoutesTest extends TestCase { public function testRoutes() { // Execute so we know that no error occurred diff --git a/tests/unit/lib/HandlerTest.php b/tests/unit/lib/HandlerTest.php index d95d13e..fa32818 100644 --- a/tests/unit/lib/HandlerTest.php +++ b/tests/unit/lib/HandlerTest.php @@ -25,6 +25,12 @@ namespace OCA\Notifications\Tests\Lib; use OCA\Notifications\Handler; use OCA\Notifications\Tests\Unit\TestCase; +/** + * Class HandlerTest + * + * @group DB + * @package OCA\Notifications\Tests\Lib + */ class HandlerTest extends TestCase { /** @var \OCA\Notifications\Handler */ protected $handler; |