[Pkg-owncloud-commits] [php-sabredav] 51/80: Testing CorePlugin::getInfo()
David Prévot
taffit at moszumanska.debian.org
Thu Jan 7 02:56:33 UTC 2016
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository php-sabredav.
commit 8a20437595dea2c96d33d8566825df49eec69921
Author: Evert Pot <me at evertpot.com>
Date: Mon Jan 4 20:46:32 2016 -0500
Testing CorePlugin::getInfo()
---
tests/Sabre/DAV/CorePluginTest.php | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/tests/Sabre/DAV/CorePluginTest.php b/tests/Sabre/DAV/CorePluginTest.php
new file mode 100644
index 0000000..c4c0737
--- /dev/null
+++ b/tests/Sabre/DAV/CorePluginTest.php
@@ -0,0 +1,16 @@
+<?php
+
+namespace Sabre\DAV;
+
+use Sabre\HTTP;
+
+class CorePluginTest extends \PHPUnit_Framework_TestCase {
+
+ function testGetInfo() {
+
+ $corePlugin = new CorePlugin();
+ $this->assertEquals('core', $corePlugin->getPluginInfo()['name']);
+
+ }
+
+}
--
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