start unit test implementation

This commit is contained in:
2021-05-22 17:30:55 +02:00
parent b054dfaba2
commit 2cb4b62df3
12 changed files with 660 additions and 691 deletions

View File

@ -67,7 +67,7 @@ class Api {
if ( ! empty( $limit ) && $limit > 0 ) {
$args['posts_per_page'] = $limit;
} else {
$args['paged'] = false;
$args['nopaging'] = true;
}
if ( $last_poll > 0 ) {