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

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2018-01-25 13:23:12 +0300
committerJoas Schilling <coding@schilljs.com>2018-01-25 13:33:25 +0300
commitbf2be08c9f3b6957a3327929a169eb6204e84cd0 (patch)
tree4738ade539309fea85c5db8e796783c2cdbc0438 /tests/lib/Federation
parent24af5c20bd65f8e657bcc495984234088c22e824 (diff)
Fix risky tests without assertions
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'tests/lib/Federation')
-rw-r--r--tests/lib/Federation/CloudIdTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/Federation/CloudIdTest.php b/tests/lib/Federation/CloudIdTest.php
index 7a6e841fb34..feb4108efe5 100644
--- a/tests/lib/Federation/CloudIdTest.php
+++ b/tests/lib/Federation/CloudIdTest.php
@@ -25,7 +25,7 @@ use OC\Federation\CloudId;
use Test\TestCase;
class CloudIdTest extends TestCase {
- public function testGetDisplayCloudIdProvider() {
+ public function dataGetDisplayCloudId() {
return [
['test@example.com', 'test@example.com'],
['test@http://example.com', 'test@example.com'],
@@ -34,7 +34,7 @@ class CloudIdTest extends TestCase {
}
/**
- * @dataProvider testGetDisplayCloudIdProvider
+ * @dataProvider dataGetDisplayCloudId
*
* @param string $id
* @param string $display