Skip to content
Extraits de code Groupes Projets
Valider abe85deb rédigé par mattpiwik's avatar mattpiwik
Parcourir les fichiers

fixing Tests patch by Julien + rename

git-svn-id: http://dev.piwik.org/svn/trunk@7661 59fd770c-687e-43c8-a1e3-f5a4ff64c105
parent 1266fa86
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -47,8 +47,7 @@ abstract class Piwik_MobileMessaging_SMSProvider ...@@ -47,8 +47,7 @@ abstract class Piwik_MobileMessaging_SMSProvider
*/ */
static public function factory($providerName) static public function factory($providerName)
{ {
$name = ucfirst(strtolower($providerName)); $className = 'Piwik_MobileMessaging_SMSProvider_' . $providerName;
$className = 'Piwik_MobileMessaging_SMSProvider_' . $name;
try { try {
Piwik_Loader::loadClass($className); Piwik_Loader::loadClass($className);
...@@ -57,7 +56,7 @@ abstract class Piwik_MobileMessaging_SMSProvider ...@@ -57,7 +56,7 @@ abstract class Piwik_MobileMessaging_SMSProvider
throw new Exception( throw new Exception(
Piwik_TranslateException( Piwik_TranslateException(
'MobileMessaging_Exception_UnknownProvider', 'MobileMessaging_Exception_UnknownProvider',
array($name, implode(', ', array_keys(self::$availableSMSProviders))) array($providerName, implode(', ', array_keys(self::$availableSMSProviders)))
) )
); );
} }
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
* Tests that visits track & reports display correctly when non-unicode text is * Tests that visits track & reports display correctly when non-unicode text is
* used in URL query params of visits. * used in URL query params of visits.
*/ */
class Test_Piwik_Integration_NonUnicodeTests extends IntegrationTestCase class Test_Piwik_Integration_NonUnicodeTest extends IntegrationTestCase
{ {
protected static $idSite1 = 1; protected static $idSite1 = 1;
protected static $dateTime = '2010-01-03 11:22:33'; protected static $dateTime = '2010-01-03 11:22:33';
......
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