Skip to content

Commit

Permalink
Refs #4739, remove old capture.js file, add section about screenshot …
Browse files Browse the repository at this point in the history
…testing config to README and remove unused constant from Config.php.
  • Loading branch information
diosmosis committed Mar 4, 2014
1 parent 64071b3 commit bb5e2b3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 376 deletions.
2 changes: 0 additions & 2 deletions core/Config.php
Expand Up @@ -40,8 +40,6 @@
*/
class Config extends Singleton
{
const RELATIVE_CONFIG_OVERRIDE_PATH = 'tmp/test.config.ini';

public static $defaultLocalConfigPath = '/config/config.ini.php';
public static $defaultCommonConfigPath = '/config/common.config.ini.php';
public static $defaultGlobalConfigPath = '/config/global.ini.php';
Expand Down
4 changes: 4 additions & 0 deletions tests/README.screenshots.md
Expand Up @@ -62,6 +62,10 @@ Removing this font may be useful if your generated screenshots' fonts do not mat

$ sudo apt-get remove ttf-bitstream-vera

### Configuring screenshot testing library

The screenshot testing library's configuration resides in the tests/lib/screenshot-testing/config.js file. If your development environment's PHP executable isn't named 'php' or your dev Piwik install isn't at http://localhost/, you may need to edit the contents of this file.

## Running Tests

You can test the UI by running the following command in the root piwik directory:
Expand Down
374 changes: 0 additions & 374 deletions tests/resources/screenshot-capture/capture.js

This file was deleted.

0 comments on commit bb5e2b3

Please sign in to comment.