Bootstrap email-editor unit tests

I also replaced using verify function by asserts, which will be removed in the higher version of phpunit.
[MAILPOET-6216]
This commit is contained in:
Jan Lysý
2024-09-12 18:29:51 +02:00
committed by Jan Lysý
parent 98712db36d
commit d38e6bb1b9
17 changed files with 3838 additions and 89 deletions

View File

@ -0,0 +1,14 @@
<?php declare(strict_types = 1);
// phpcs:ignoreFile - We want to allow multiple classes etc.
// Dummy WP classes
if (!class_exists(\WP_Theme_JSON::class)) {
class WP_Theme_JSON {
public function get_data() {
return [];
}
public function get_settings() {
return [];
}
}
}