nextcloud/tests/lib/Share20
Daniel Calviño Sánchez 42782ceeba Fix unit test for verifying enforced expire date too far in the future
The test should fail if no exception was thrown, and no exception was
thrown due to a missing configuration parameter. However, the use of
"addToAssertionCount(1)" made the test pass even if no exception was
thrown and, therefore, to silently fail.

Now the missing configuration parameter was added and the test will fail
if the expected exception is not thrown.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-11-16 13:19:53 +00:00
..
DefaultShareProviderTest.php Fix language in share notes email for users 2020-06-23 21:29:49 +00:00
LegacyHooksTest.php Use the shorter phpunit syntax for mocked return values 2020-03-25 22:21:27 +01:00
ManagerTest.php Fix unit test for verifying enforced expire date too far in the future 2020-11-16 13:19:53 +00:00
ShareHelperTest.php Mode to modern phpunit 2019-11-27 15:27:18 +01:00
ShareTest.php Mode to modern phpunit 2019-11-27 15:27:18 +01:00