Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/polls.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsplitt3r <splitt3r@users.noreply.github.com>2017-11-10 00:15:59 +0300
committersplitt3r <splitt3r@users.noreply.github.com>2017-11-10 00:15:59 +0300
commite2c664a8c61b4c9f878466829b0184e6b7b1fe26 (patch)
tree80cec2fdfa8a3c6b3b549fb804a9957320a2169e /tests/Unit
parent8caf86af5b6783f4b1064d5bf2835e1bc265e308 (diff)
parentfa62e628d15cc14c57177a24803a71899788fad4 (diff)
Merge branch 'develop' into cleanup
Diffstat (limited to 'tests/Unit')
-rw-r--r--tests/Unit/Factories/NotificationFactory.php31
-rw-r--r--tests/Unit/Factories/TextFactory.php31
2 files changed, 0 insertions, 62 deletions
diff --git a/tests/Unit/Factories/NotificationFactory.php b/tests/Unit/Factories/NotificationFactory.php
deleted file mode 100644
index 3416219d..00000000
--- a/tests/Unit/Factories/NotificationFactory.php
+++ /dev/null
@@ -1,31 +0,0 @@
-<?php
-/**
- * @copyright Copyright (c) 2017 Kai Schröer <git@schroeer.co>
- *
- * @author Kai Schröer <git@schroeer.co>
- *
- * @license GNU AGPL version 3 or any later version
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
- */
-
-use League\FactoryMuffin\Faker\Facade as Faker;
-
-/**
- * General factory for the notification model.
- */
-$fm->define('OCA\Polls\Db\Notification')->setDefinitions([
- 'userId' => Faker::firstNameMale(),
-]);
diff --git a/tests/Unit/Factories/TextFactory.php b/tests/Unit/Factories/TextFactory.php
deleted file mode 100644
index 91702af7..00000000
--- a/tests/Unit/Factories/TextFactory.php
+++ /dev/null
@@ -1,31 +0,0 @@
-<?php
-/**
- * @copyright Copyright (c) 2017 Kai Schröer <git@schroeer.co>
- *
- * @author Kai Schröer <git@schroeer.co>
- *
- * @license GNU AGPL version 3 or any later version
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
- */
-
-use League\FactoryMuffin\Faker\Facade as Faker;
-
-/**
- * General factory for the text model.
- */
-$fm->define('OCA\Polls\Db\Text')->setDefinitions([
- 'text' => Faker::paragraph()
-]);