Skip to content

Commit

Permalink
Changing to use array in tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
jrbasso committed Aug 23, 2010
1 parent 6572684 commit 84cf5d5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions cake/tests/cases/libs/xml.test.php
Expand Up @@ -59,7 +59,7 @@ function testBuild() {
/**
* data provider function for testBuildInvalidData
*
* @return void
* @return array
*/
public static function invalidDataProvider() {
return array(
Expand Down Expand Up @@ -212,17 +212,17 @@ function testFromArray() {
/**
* data provider for fromArray() failures
*
* @return void
* @return array
*/
public static function invalidArrayDataProvider() {
return array(
array(''),
array(null),
array(false),
array(array()),
array('numeric key as root'),
array('item1' => '', 'item2' => ''),
array('items' => array('item1', 'item2')),
array(array('numeric key as root')),
array(array('item1' => '', 'item2' => '')),
array(array('items' => array('item1', 'item2'))),
array(array(
'tags' => array(
'tag' => array(
Expand Down

0 comments on commit 84cf5d5

Please sign in to comment.