Skip to content

Commit

Permalink
Global: Fix - Base that extends unit should be abstract.
Browse files Browse the repository at this point in the history
  • Loading branch information
iNewLegend committed Apr 25, 2021
1 parent 2241a86 commit a363c43
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
"type": "library",
"license": "GPL-3.0",
"minimum-stability": "stable",
"require": {},
"require-dev": {
"require": {
"justinrainbow/json-schema": "^5.2"
},
"authors": [
Expand Down
2 changes: 1 addition & 1 deletion phpunit/ajax-class.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
use Elementor\Testing\Traits\Base_Elementor;
use Elementor\Testing\Traits\Extra_Assertions;

class Elementor_Test_AJAX extends \WP_Ajax_UnitTestCase {
abstract class Elementor_Test_AJAX extends \WP_Ajax_UnitTestCase {

use Base_Elementor, Extra_Assertions;

Expand Down
2 changes: 1 addition & 1 deletion phpunit/base-class.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
use Elementor\Testing\Traits\Base_Elementor;
use Elementor\Testing\Traits\Extra_Assertions;

class Elementor_Test_Base extends \WP_UnitTestCase {
abstract class Elementor_Test_Base extends \WP_UnitTestCase {
use Base_Elementor, Extra_Assertions, Auth_Helpers;

public function setUp() {
Expand Down
2 changes: 1 addition & 1 deletion phpunit/base-schema.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
use JsonSchema\SchemaStorage;
use JsonSchema\Validator;

class Base_Schema extends Elementor_Test_Base {
abstract class Base_Schema extends Elementor_Test_Base {
const HTTP_USER_AGENT = 'test-agent';

public function setUp() {
Expand Down

0 comments on commit a363c43

Please sign in to comment.