Fixing test for #2488

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4898 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
mariano.iglesias 2007-04-29 01:31:50 +00:00
parent 0bd1a41329
commit 1a693ccc53

View file

@ -164,10 +164,14 @@ class SetTest extends UnitTestCase {
function testExtract() {
$a = array(
array( 'lday' => '20 sales' ),
array( 'lday' => '2 sales' )
0 => array(
'1day' => '20 sales'
),
1 => array(
'1day' => '2 sales'
)
);
$result = Set::extract($a, '{n}.lday');
$result = Set::extract($a, '{n}.1day');
$expected = array(
0 => '20 sales',