Skip to content
Extraits de code Groupes Projets
Valider 93acf104 rédigé par robocoder's avatar robocoder
Parcourir les fichiers

reverse logic to reflect changes in autoloader

git-svn-id: http://dev.piwik.org/svn/trunk@2440 59fd770c-687e-43c8-a1e3-f5a4ff64c105
parent 920f02e3
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -696,9 +696,9 @@ class Test_Piwik_Common extends UnitTestCase ...@@ -696,9 +696,9 @@ class Test_Piwik_Common extends UnitTestCase
$a = 'O:31:"Test_Piwik_Cookie_Phantom_Class":0:{}'; $a = 'O:31:"Test_Piwik_Cookie_Phantom_Class":0:{}';
try { try {
unserialize($a); unserialize($a);
$this->fail("Expected exception not raised");
} catch(Exception $expected) {
$this->pass("test: unserializing an object where class not (yet) defined<br>\n"); $this->pass("test: unserializing an object where class not (yet) defined<br>\n");
} catch(Exception $expected) {
$this->fail("Unexpected exception raised");
} }
$ua = Piwik_Common::unserialize_array($a); $ua = Piwik_Common::unserialize_array($a);
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter