Packaging process bundled as Gulp task

Bundling a ready to use plugin ZIP has been automated into a Gulp task. After executing unit tests and code sniffer, only the relevant files are bundled.
This commit is contained in:
2017-07-15 21:44:48 +02:00
parent 3206da2861
commit 2e7883bc62
9 changed files with 90 additions and 9 deletions

View File

@ -39,12 +39,12 @@ require_once( 'inc/statifyblacklist-admin.class.php' );
*
* @since 1.3.0
*/
class StatifyBlacklistTest extends PHPUnit\Framework\TestCase {
class StatifyBlacklist_Test extends PHPUnit_Framework_TestCase {
/**
* Test simple referer filter.
*/
public function testRefererFilter() {
public function test_referer_filter() {
// Prepare Options: 2 blacklisted domains, disabled.
StatifyBlacklist::$_options = array(
'referer' => array(