[Pkg-owncloud-commits] [php-sabredav] 26/40: Locks plugin getInfo test
David Prévot
taffit at moszumanska.debian.org
Sat Sep 5 15:24:09 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to tag 3.1.0-alpha2
in repository php-sabredav.
commit fcf446d5d12452b29d90e00f64dd80fe93895cf6
Author: Evert Pot <me at evertpot.com>
Date: Tue Aug 11 15:21:21 2015 -0400
Locks plugin getInfo test
---
tests/Sabre/DAV/Locks/PluginTest.php | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/tests/Sabre/DAV/Locks/PluginTest.php b/tests/Sabre/DAV/Locks/PluginTest.php
index 89ff25f..ef0e473 100644
--- a/tests/Sabre/DAV/Locks/PluginTest.php
+++ b/tests/Sabre/DAV/Locks/PluginTest.php
@@ -10,7 +10,7 @@ require_once 'Sabre/DAV/AbstractServer.php';
class PluginTest extends DAV\AbstractServer {
/**
- * @var Sabre\DAV\Locks\Plugin
+ * @var Plugin
*/
protected $locksPlugin;
@@ -24,6 +24,15 @@ class PluginTest extends DAV\AbstractServer {
}
+ function testGetInfo() {
+
+ $this->assertArrayHasKey(
+ 'name',
+ $this->locksPlugin->getPluginInfo()
+ );
+
+ }
+
function testGetFeatures() {
$this->assertEquals(array(2),$this->locksPlugin->getFeatures());
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/php-sabredav.git
More information about the Pkg-owncloud-commits
mailing list