summaryrefslogtreecommitdiffstats
path: root/apps/files_external/tests
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2018-01-25 11:23:12 +0100
committerJoas Schilling <coding@schilljs.com>2018-01-25 11:33:25 +0100
commitbf2be08c9f3b6957a3327929a169eb6204e84cd0 (patch)
tree4738ade539309fea85c5db8e796783c2cdbc0438 /apps/files_external/tests
parent24af5c20bd65f8e657bcc495984234088c22e824 (diff)
downloadnextcloud-server-bf2be08c9f3b6957a3327929a169eb6204e84cd0.tar.gz
nextcloud-server-bf2be08c9f3b6957a3327929a169eb6204e84cd0.zip
Fix risky tests without assertions
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/files_external/tests')
-rw-r--r--apps/files_external/tests/Service/UserGlobalStoragesServiceTest.php26
1 files changed, 13 insertions, 13 deletions
diff --git a/apps/files_external/tests/Service/UserGlobalStoragesServiceTest.php b/apps/files_external/tests/Service/UserGlobalStoragesServiceTest.php
index 013af9b0426..452d8589a3d 100644
--- a/apps/files_external/tests/Service/UserGlobalStoragesServiceTest.php
+++ b/apps/files_external/tests/Service/UserGlobalStoragesServiceTest.php
@@ -304,66 +304,66 @@ class UserGlobalStoragesServiceTest extends GlobalStoragesServiceTest {
public function testGetStoragesBackendNotVisible() {
// we don't test this here
- $this->assertTrue(true);
+ $this->addToAssertionCount(1);
}
public function testGetStoragesAuthMechanismNotVisible() {
// we don't test this here
- $this->assertTrue(true);
+ $this->addToAssertionCount(1);
}
public function testHooksAddStorage($a = null, $b = null, $c = null) {
// we don't test this here
- $this->assertTrue(true);
+ $this->addToAssertionCount(1);
}
public function testHooksUpdateStorage($a = null, $b = null, $c = null, $d = null, $e = null) {
// we don't test this here
- $this->assertTrue(true);
+ $this->addToAssertionCount(1);
}
public function testHooksRenameMountPoint() {
// we don't test this here
- $this->assertTrue(true);
+ $this->addToAssertionCount(1);
}
public function testHooksDeleteStorage($a = null, $b = null, $c = null) {
// we don't test this here
- $this->assertTrue(true);
+ $this->addToAssertionCount(1);
}
public function testLegacyConfigConversionApplicableAll() {
// we don't test this here
- $this->assertTrue(true);
+ $this->addToAssertionCount(1);
}
public function testLegacyConfigConversionApplicableUserAndGroup() {
// we don't test this here
- $this->assertTrue(true);
+ $this->addToAssertionCount(1);
}
public function testReadLegacyConfigAndGenerateConfigId() {
// we don't test this here
- $this->assertTrue(true);
+ $this->addToAssertionCount(1);
}
public function testReadLegacyConfigNoAuthMechanism() {
// we don't test this here
- $this->assertTrue(true);
+ $this->addToAssertionCount(1);
}
public function testReadLegacyConfigClass() {
// we don't test this here
- $this->assertTrue(true);
+ $this->addToAssertionCount(1);
}
public function testReadEmptyMountPoint() {
// we don't test this here
- $this->assertTrue(true);
+ $this->addToAssertionCount(1);
}
public function testUpdateStorageMountPoint() {
// we don't test this here
- $this->assertTrue(true);
+ $this->addToAssertionCount(1);
}
}