Skip to content

Commit

Permalink
Scrtunizer Added, Test path corrected
Browse files Browse the repository at this point in the history
  • Loading branch information
Ahmad Awais committed Oct 14, 2015
1 parent 9ebabec commit 38835c5
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 9 deletions.
1 change: 1 addition & 0 deletions README.md
@@ -1,6 +1,7 @@
#CF7 Customizer
[![License](https://img.shields.io/badge/license-GPL--2.0%2B-red.svg)](https://github.com/WPTie/CF7Customizer/blob/master/license.txt)
[![Build Status](https://travis-ci.org/WPTie/CF7Customizer.svg?branch=master)](https://travis-ci.org/WPTie/CF7Customizer)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/WPTie/CF7Customizer/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/WPTie/CF7Customizer/?branch=master)
[![Dependency Status](https://david-dm.org/WPTie/CF7Customizer.svg)](https://david-dm.org/WPTie/CF7Customizer)
[![devDependency Status](https://david-dm.org/WPTie/CF7Customizer/dev-status.svg)](https://david-dm.org/WPTie/CF7Customizer#info=devDependencies)
[![WordPress.org Repo Version](https://img.shields.io/wordpress/plugin/v/cf7-customizer.svg)](https://wordpress.org/plugins/cf7-customizer/)
Expand Down
12 changes: 6 additions & 6 deletions package.json
@@ -1,10 +1,10 @@
{
"name": "CF7Customizer",
"version": "1.0.0",
"repository" : {
"repository": {
"type": "git",
"url" : "https://github.com/WPTie/CF7Customizer.git"
},
"url": "https://github.com/WPTie/CF7Customizer.git"
},
"dependencies": {
"del": "^2.0.2"
},
Expand All @@ -17,22 +17,22 @@
"gulp-concat": "^2.6.0",
"gulp-filesize": "0.0.6",
"gulp-filter": "^3.0.1",
"gulp-ignore": "^1.2.1",
"gulp-ignore": "^2.0.1",
"gulp-imagemin": "^2.3.0",
"gulp-jshint": "^1.11.2",
"gulp-livereload": "^3.8.0",
"gulp-load-plugins": "^1.0.0-rc.1",
"gulp-newer": "^0.5.1",
"gulp-notify": "^2.2.0",
"gulp-phpcs": "^0.7.0",
"gulp-pixrem": "^0.2.3",
"gulp-pixrem": "^1.0.0",
"gulp-plumber": "^1.0.1",
"gulp-rename": "^1.2.2",
"gulp-sass": "^2.0.4",
"gulp-sourcemaps": "^1.5.2",
"gulp-uglify": "^1.4.1",
"gulp-uglifycss": "^1.0.4",
"gulp-uncss": "^1.0.3",
"gulp-uncss": "^1.0.4",
"gulp-util": "^3.0.6",
"gulp-wp-rev": "0.0.1",
"gulp-zip": "^3.0.2",
Expand Down
4 changes: 2 additions & 2 deletions tests/bootstrap.php
Expand Up @@ -8,15 +8,15 @@
*/

// Activates this plugin in WordPress so it can be tested.
$GLOBALS['wp_tests_options'] = array(
$GLOBALS[ 'wp_tests_options' ] = array(
'active_plugins' => array( 'cf7-customizer/cf7-customizer.php' ),
);

// If the develop repo location is defined (as WP_DEVELOP_DIR), use that
// location. Otherwise, we'll just assume that this plugin is installed in a
// WordPress develop SVN checkout.

if( false !== getenv( 'WP_DEVELOP_DIR' ) ) {
if ( false !== getenv( 'WP_DEVELOP_DIR' ) ) {
require getenv( 'WP_DEVELOP_DIR' ) . '/tests/phpunit/includes/bootstrap.php';
} else {
require '../../../../tests/phpunit/includes/bootstrap.php';
Expand Down
2 changes: 1 addition & 1 deletion tests/test_wordpress_plugin_tests.php
Expand Up @@ -45,7 +45,7 @@ function test_wp_version() {
*/
function test_plugin_activated() {

$this->assertTrue( is_plugin_active( 'plugin-slug/main-plugin-file.php' ) );
$this->assertTrue( is_plugin_active( 'cf7-customizer/cf7-customizer.php' ) );

}

Expand Down

0 comments on commit 38835c5

Please sign in to comment.