Skip to content
Extraits de code Groupes Projets
Valider 2c1f12f6 rédigé par diosmosis's avatar diosmosis
Parcourir les fichiers

Fixing unit tests.

parent 379e203f
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -54,7 +54,7 @@ class CacheTest extends UnitTestCase ...@@ -54,7 +54,7 @@ class CacheTest extends UnitTestCase
$cache->save('test', 'mycontent'); // make sure something was changed, otherwise it won't save anything $cache->save('test', 'mycontent'); // make sure something was changed, otherwise it won't save anything
/** @var \Piwik\Cache\Backend $backend */ /** @var \Piwik\Cache\Backend $backend */
$backend = $this->environment->get('Piwik\Cache\Backend'); $backend = $this->environment->getContainer()->get('Piwik\Cache\Backend');
$this->assertFalse($backend->doContains($storageId)); $this->assertFalse($backend->doContains($storageId));
Piwik::postEvent('Request.dispatch.end'); // should trigger save Piwik::postEvent('Request.dispatch.end'); // should trigger save
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter