[Pkg-owncloud-commits] [php-sabredav] 41/220: Minor bugfixes

David Prévot taffit at moszumanska.debian.org
Thu May 12 01:21:05 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 46309793e77b5a8613f55a8a539ffb742e671537
Author: Evert Pot <me at evertpot.com>
Date:   Mon Jan 11 18:53:22 2016 -0500

    Minor bugfixes
---
 tests/Sabre/CalDAV/Backend/AbstractPDOTest.php | 2 --
 tests/Sabre/CalDAV/ICSExportPluginTest.php     | 4 ++--
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/tests/Sabre/CalDAV/Backend/AbstractPDOTest.php b/tests/Sabre/CalDAV/Backend/AbstractPDOTest.php
index a68244f..5c127f8 100644
--- a/tests/Sabre/CalDAV/Backend/AbstractPDOTest.php
+++ b/tests/Sabre/CalDAV/Backend/AbstractPDOTest.php
@@ -206,7 +206,6 @@ abstract class AbstractPDOTest extends \PHPUnit_Framework_TestCase {
                 'size'         => strlen($object),
                 'calendardata' => $object,
                 'lastmodified' => null,
-                'calendarid'   => $returnedId,
             ],
             [
                 'id'           => 2,
@@ -215,7 +214,6 @@ abstract class AbstractPDOTest extends \PHPUnit_Framework_TestCase {
                 'size'         => strlen($object),
                 'calendardata' => $object,
                 'lastmodified' => null,
-                'calendarid'   => $returnedId,
             ],
         ];
 
diff --git a/tests/Sabre/CalDAV/ICSExportPluginTest.php b/tests/Sabre/CalDAV/ICSExportPluginTest.php
index 5f2bcd3..073403b 100644
--- a/tests/Sabre/CalDAV/ICSExportPluginTest.php
+++ b/tests/Sabre/CalDAV/ICSExportPluginTest.php
@@ -60,8 +60,6 @@ END:VCALENDAR
 ICS
         );
 
-        $this->assertEquals($this->icsExportPlugin, $this->server->getPlugin('ics-export'));
-        $this->assertEquals('ics-export', $this->icsExportplugin->getPluginInfo()['name']);
 
     }
 
@@ -71,6 +69,8 @@ ICS
             $this->icsExportPlugin,
             $this->server->getPlugin('ics-export')
         );
+        $this->assertEquals($this->icsExportPlugin, $this->server->getPlugin('ics-export'));
+        $this->assertEquals('ics-export', $this->icsExportPlugin->getPluginInfo()['name']);
 
     }
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-php/php-sabredav.git



More information about the Pkg-owncloud-commits mailing list