Skip to content
Permalink
Browse files

Changing to use array in tests.

  • Loading branch information...
jrbasso committed Aug 23, 2010
1 parent 6572684 commit 84cf5d599cf7dae7eba93376c7c5297c070d961d
Showing with 5 additions and 5 deletions.
  1. +5 −5 cake/tests/cases/libs/xml.test.php
@@ -59,7 +59,7 @@ function testBuild() {
/**
* data provider function for testBuildInvalidData
*
* @return void
* @return array
*/
public static function invalidDataProvider() {
return array(
@@ -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(

0 comments on commit 84cf5d5

Please sign in to comment.
You can’t perform that action at this time.