cvs: pear-core /tests/PEAR_Command_Config/config-set test.phpt

From: Date: Sat, 14 Jun 2008 08:41:26 +0000
Subject: cvs: pear-core /tests/PEAR_Command_Config/config-set test.phpt
Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-core+get-7594@lists.php.net to get a copy of this message
dufuz Sat Jun 14 08:41:26 2008 UTC Modified files: /pear-core/tests/PEAR_Command_Config/config-set test.phpt Log: fix the test a bit, still fails for other things. http://cvs.php.net/viewvc.cgi/pear-core/tests/PEAR_Command_Config/config-set/test.phpt?r1=1.8&r2=1.9&diff_format=u Index: pear-core/tests/PEAR_Command_Config/config-set/test.phpt diff -u pear-core/tests/PEAR_Command_Config/config-set/test.phpt:1.8 pear-core/tests/PEAR_Command_Config/config-set/test.phpt:1.9 --- pear-core/tests/PEAR_Command_Config/config-set/test.phpt:1.8 Wed May 14 02:23:39 2008 +++ pear-core/tests/PEAR_Command_Config/config-set/test.phpt Sat Jun 14 08:41:26 2008 @@ -14,7 +14,7 @@ $command->run('config-set', array(), array('php_dir', $temp_path . DIRECTORY_SEPARATOR . 'poo')); $phpunit->assertNoErrors('after'); $phpunit->assertEquals(array ( - 0 => + 0 => array ( 'info' => 'config-set succeeded', 'cmd' => 'config-set', @@ -26,7 +26,7 @@ $command->run('config-set', array(), array('php_dir', $temp_path . DIRECTORY_SEPARATOR . 'poo', 'system')); $phpunit->assertNoErrors('after'); $phpunit->assertEquals(array ( - 0 => + 0 => array ( 'info' => 'config-set succeeded', 'cmd' => 'config-set', @@ -52,7 +52,7 @@ $phpunit->assertEquals($configinfo, $info, 'saved 1'); $info = explode("\n", implode('', file($temp_path . DIRECTORY_SEPARATOR . 'pear.conf'))); -$info = unserialize($info[1]); +$info = unserialize($info[0]); $phpunit->assertEquals($configinfo, $info, 'saved 2'); echo 'tests done'; ?>

« previous php.pear.core (#7594) next »