Fixed Activity filter and added Activity Unit Test

This commit is contained in:
Justin Foell
2019-10-04 15:50:08 -05:00
parent 319b220aa3
commit 00812e55e8
11 changed files with 130 additions and 64 deletions
+7
View File
@@ -8,3 +8,10 @@ require_once dirname( __FILE__ ) . '/../includes/autoload.php';
require_once dirname( __FILE__ ) . '/../vendor/autoload.php';
WP_Mock::bootstrap();
// Pseudo mocks for WP functions.
if ( ! function_exists( 'number_format_i18n' ) ) :
function number_format_i18n( $number, $decimals ) {
return number_format( $number, $decimals );
}
endif;