From b62fc41eabce76973a3a95e9feaf42022041eec9 Mon Sep 17 00:00:00 2001 From: "Jason.Platts" Date: Mon, 2 Oct 2023 13:55:31 +0100 Subject: [PATCH] Fix behat by switching to trait class --- tests/behat/behat_editor_tiny_fontcolor.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/behat/behat_editor_tiny_fontcolor.php b/tests/behat/behat_editor_tiny_fontcolor.php index b9573b1..4a0e6e5 100644 --- a/tests/behat/behat_editor_tiny_fontcolor.php +++ b/tests/behat/behat_editor_tiny_fontcolor.php @@ -29,12 +29,14 @@ * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ -require_once(__DIR__ . '/../../../../tests/behat/behat_editor_tiny.php'); +require_once(__DIR__ . '/../../../../../../behat/behat_base.php'); +require_once(__DIR__ . '/../../../../tests/behat/editor_tiny_helpers.php'); /** * Extends general TinyMCE test to test the tiny_fontcolor plugin. */ -class behat_editor_tiny_fontcolor extends behat_editor_tiny { +class behat_editor_tiny_fontcolor extends behat_base { + use editor_tiny_helpers; /** * Click on a button for the specified TinyMCE editor.