From 91aa605c3a92e7d6750317d8126e2dfacd0838a4 Mon Sep 17 00:00:00 2001 From: "Jason.Platts" Date: Mon, 2 Oct 2023 13:43:20 +0100 Subject: [PATCH] Switch behat class to use trait --- tests/behat/behat_editor_tiny_multilang2.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/behat/behat_editor_tiny_multilang2.php b/tests/behat/behat_editor_tiny_multilang2.php index ba2c2c9..7abff3c 100644 --- a/tests/behat/behat_editor_tiny_multilang2.php +++ b/tests/behat/behat_editor_tiny_multilang2.php @@ -29,13 +29,15 @@ * @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_multilang2 plugin. */ -class behat_editor_tiny_multilang2 extends behat_editor_tiny { +class behat_editor_tiny_multilang2 extends behat_base { + use editor_tiny_helpers; /** * Click on a button for the specified TinyMCE editor.