diff options
author | sgiehl <stefan@piwik.org> | 2013-09-06 01:05:43 +0400 |
---|---|---|
committer | sgiehl <stefan@piwik.org> | 2013-09-06 01:05:43 +0400 |
commit | 821c6601b4f7c363abc93a1b576476fcc5668954 (patch) | |
tree | 0bbb102a71e816f3f2ab5f290ed6cff03b5a98d0 /tests | |
parent | 3c11c23f3e8dc1c088a07b941d719229d6e58197 (diff) |
fixed some js errors, namespaces & coding style
Diffstat (limited to 'tests')
-rw-r--r-- | tests/PHPUnit/Core/Translate/Validate/NoScriptsTest.php | 2 | ||||
-rwxr-xr-x | tests/PHPUnit/IntegrationTestCase.php | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/tests/PHPUnit/Core/Translate/Validate/NoScriptsTest.php b/tests/PHPUnit/Core/Translate/Validate/NoScriptsTest.php index 75df78b1fe..31ad20dd22 100644 --- a/tests/PHPUnit/Core/Translate/Validate/NoScriptsTest.php +++ b/tests/PHPUnit/Core/Translate/Validate/NoScriptsTest.php @@ -67,7 +67,7 @@ class NoScriptsTest extends PHPUnit_Framework_TestCase array( array( 'test' => array( - 'test' => 'bla <a onload="alert();">link</a>' + 'test' => 'bla <a onload="alert(\'test\');">link</a>' ) ), ), diff --git a/tests/PHPUnit/IntegrationTestCase.php b/tests/PHPUnit/IntegrationTestCase.php index e029abdc01..bf6c897702 100755 --- a/tests/PHPUnit/IntegrationTestCase.php +++ b/tests/PHPUnit/IntegrationTestCase.php @@ -23,7 +23,6 @@ use Piwik\Site; use Piwik\Tracker\Cache; use Piwik\Translate; use Piwik\Db; -use Piwik\Visualization\Cloud; require_once PIWIK_INCLUDE_PATH . '/libs/PiwikTracker/PiwikTracker.php'; |