-
Notifications
You must be signed in to change notification settings - Fork 241
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #867 from guillaumelecerf/EZP-22232
Fix EZP-22232: Fatal Error when calling eZContentOperationCollection::re...
- Loading branch information
Showing
3 changed files
with
41 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
tests/tests/kernel/content/ezcontentoperationcollection_test.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<?php | ||
/** | ||
* File containing eZContentOperationCollectionTest class | ||
* | ||
* @copyright Copyright (C) 1999-2014 eZ Systems AS. All rights reserved. | ||
* @license http://www.gnu.org/licenses/gpl-2.0.txt GNU General Public License v2 | ||
* @version //autogentag// | ||
* @package tests | ||
*/ | ||
|
||
class eZContentOperationCollectionTest extends ezpDatabaseTestCase | ||
{ | ||
public function __construct( $name = NULL, array $data = array(), $dataName = '' ) | ||
{ | ||
parent::__construct( $name, $data, $dataName ); | ||
$this->setName( "eZContentOperationCollection Tests" ); | ||
} | ||
|
||
/** | ||
* Fatal Error when calling eZContentOperationCollection::removeOldNodes() | ||
* with inexistant object/object version | ||
* | ||
* @link http://issues.ez.no/22232 | ||
*/ | ||
public function testRemoveOldNodes() | ||
{ | ||
eZContentOperationCollection::removeOldNodes( 1234, 1234 ); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters