aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/sabre/dav/tests/Sabre/DAV/StringUtilTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/sabre/dav/tests/Sabre/DAV/StringUtilTest.php')
-rw-r--r--vendor/sabre/dav/tests/Sabre/DAV/StringUtilTest.php8
1 files changed, 6 insertions, 2 deletions
diff --git a/vendor/sabre/dav/tests/Sabre/DAV/StringUtilTest.php b/vendor/sabre/dav/tests/Sabre/DAV/StringUtilTest.php
index bc36c6b78..1e4b92197 100644
--- a/vendor/sabre/dav/tests/Sabre/DAV/StringUtilTest.php
+++ b/vendor/sabre/dav/tests/Sabre/DAV/StringUtilTest.php
@@ -72,15 +72,19 @@ class StringUtilTest extends \PHPUnit\Framework\TestCase
];
}
+ /**
+ * @expectedException \Sabre\DAV\Exception\BadRequest
+ */
public function testBadCollation()
{
- $this->expectException('Sabre\DAV\Exception\BadRequest');
StringUtil::textMatch('foobar', 'foo', 'blabla', 'contains');
}
+ /**
+ * @expectedException \Sabre\DAV\Exception\BadRequest
+ */
public function testBadMatchType()
{
- $this->expectException('Sabre\DAV\Exception\BadRequest');
StringUtil::textMatch('foobar', 'foo', 'i;octet', 'booh');
}