Add tests for space notification (#6372)

This commit is contained in:
Amrita
2023-06-08 16:59:45 +05:45
committed by GitHub
parent aac7816a49
commit c750d6677a
6 changed files with 538 additions and 182 deletions
@@ -26,6 +26,7 @@ use Behat\Gherkin\Node\PyStringNode;
use Behat\Gherkin\Node\TableNode;
use Psr\Http\Message\ResponseInterface;
use PHPUnit\Framework\Assert;
use PHPUnit\Framework\ExpectationFailedException;
use TestHelpers\OcsApiHelper;
use TestHelpers\SharingHelper;
use TestHelpers\HttpRequestHelper;
@@ -3449,7 +3450,7 @@ trait Sharing {
Assert::assertEquals($row['path'], $share['path']);
$found = true;
break;
} catch (PHPUnit\Framework\ExpectationFailedException $e) {
} catch (ExpectationFailedException $e) {
}
}
if (!$found) {