Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

explicit add test class suffix, minor readme fix

  • Loading branch information...
commit c261177df2cf91955170066e845ae9c6d2de35df 1 parent 98f9f71
@schorsch schorsch authored
Showing with 4 additions and 6 deletions.
  1. +1 −1  phpunit.xml
  2. +0 −2  tests/README.md
  3. +3 −3 tests/bootstrap.php
View
2  phpunit.xml
@@ -13,7 +13,7 @@
>
<testsuites>
<testsuite name="Jigoshop Test Suite">
- <directory>./tests/</directory>
+ <directory suffix="Test.php">./tests</directory>
</testsuite>
</testsuites>
</phpunit>
View
2  tests/README.md
@@ -39,8 +39,6 @@ Run the test from jiigoshop plugin root folder
phpunit
-cd j
-
Install phpunit on Ubuntu
-----------
View
6 tests/bootstrap.php
@@ -7,7 +7,7 @@
if( file_exists( $path ) ) {
require_once $path;
} else {
- exit( "Couldn't find wordpress-tests please run git submodule init \n" );
+ exit( "Couldn't find wordpress-tests please run\n git submodule init && git submodule update\n" );
}
-//load jiigoshop all
-require_once './jigoshop.php';;
+//load all jigoshop classes
+require_once './jigoshop.php';
Please sign in to comment.
Something went wrong with that request. Please try again.