[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pear-cvs
Subject:    [PEAR-CVS] cvs: pear-core /tests/PEAR_Command_Channels/list-channels test.phpt
From:       "Helgi �ormar �orbj�rnsson" <dufuz () php ! net>
Date:       2009-01-30 23:19:22
Message-ID: cvsdufuz1233357562 () cvsserver
[Download RAW message or body]

dufuz		Fri Jan 30 23:19:22 2009 UTC

  Modified files:              
    /pear-core/tests/PEAR_Command_Channels/list-channels	test.phpt 
  Log:
  Implement Request #15566 	Add doc.php.net as a default channel
  
http://cvs.php.net/viewvc.cgi/pear-core/tests/PEAR_Command_Channels/list-channels/test.phpt?r1=1.6&r2=1.7&diff_format=u
                
Index: pear-core/tests/PEAR_Command_Channels/list-channels/test.phpt
diff -u pear-core/tests/PEAR_Command_Channels/list-channels/test.phpt:1.6 \
                pear-core/tests/PEAR_Command_Channels/list-channels/test.phpt:1.7
--- pear-core/tests/PEAR_Command_Channels/list-channels/test.phpt:1.6	Wed May 14 \
                02:23:39 2008
+++ pear-core/tests/PEAR_Command_Channels/list-channels/test.phpt	Fri Jan 30 23:19:22 \
2009 @@ -14,30 +14,34 @@
 $e = $command->run('list-channels', array(), array());
 $phpunit->assertNoErrors('1');
 $phpunit->assertEquals(array (
-  0 => 
+  0 =>
   array (
-    'info' => 
+    'info' =>
     array (
       'caption' => 'Registered Channels:',
       'border' => true,
-      'headline' => 
+      'headline' =>
       array (
         0 => 'Channel',
         1 => 'Summary',
       ),
-      'data' => 
+      'data' =>
       array (
-        0 => 
+        0 => array (
+          0 => 'doc.php.net',
+          1 => 'PHP Documentation Team',
+        ),
+        1 =>
         array (
           0 => 'pear.php.net',
           1 => 'PHP Extension and Application Repository',
         ),
-        1 => 
+        2 =>
         array (
           0 => 'pecl.php.net',
           1 => 'PHP Extension Community Library',
         ),
-        2 => 
+        3 =>
         array (
           0 => '__uri',
           1 => 'Pseudo-channel for static packages',
@@ -57,35 +61,40 @@
 $e = $command->run('list-channels', array(), array());
 $phpunit->assertNoErrors('1');
 $phpunit->assertEquals(array (
-  0 => 
+  0 =>
   array (
-    'info' => 
+    'info' =>
     array (
       'caption' => 'Registered Channels:',
       'border' => true,
-      'headline' => 
+      'headline' =>
       array (
         0 => 'Channel',
         1 => 'Summary',
       ),
-      'data' => 
+      'data' =>
       array (
-        0 => 
+        0 =>
+        array (
+          0 => 'doc.php.net',
+          1 => 'PHP Documentation Team',
+        ),
+        1 =>
         array (
           0 => 'fake',
           1 => 'fake',
         ),
-        1 => 
+        2 =>
         array (
           0 => 'pear.php.net',
           1 => 'PHP Extension and Application Repository',
         ),
-        2 =>
+        3 =>
         array (
           0 => 'pecl.php.net',
           1 => 'PHP Extension Community Library',
         ),
-        3 => 
+        4 =>
         array (
           0 => '__uri',
           1 => 'Pseudo-channel for static packages',



-- 
PEAR CVS Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic