MDL-81698 phpunit: Uncomment some tests and make them skipped

There are a few tests in core that are commented since the
beginning. That's not useful at all, so with this commit we
are un-commenting them instead.

Note that this is an initial step to have them back with skipped
outcome. Later in this issue we'll decide about to keep them or
completely remove them (each test can have a different outcome).
This commit is contained in:
Eloy Lafuente (stronk7) 2024-04-26 11:54:54 +02:00
parent 3e486ad9ca
commit 6fe0e66d06
No known key found for this signature in database
GPG key ID: 53487A05E6228820
3 changed files with 48 additions and 46 deletions

View file

@ -1129,12 +1129,11 @@ class rtlcss_test extends basic_testcase {
* @param array $data the provider data.
* @dataProvider background_image_provider
*/
/* Not supported by MoodleHQ/RTLCSS yet.
public function test_background_image($data) {
$this->markTestSkipped('Not yet supported!');
$output = new OutputFormat();
$this->assert_sample($data, $output);
}
*/
/**
* Test background position.
@ -1197,14 +1196,13 @@ class rtlcss_test extends basic_testcase {
* @param array $data the provider data.
* @dataProvider special_provider
*/
/* Not supported by MoodleHQ/RTLCSS yet.
public function test_special($data) {
$this->markTestSkipped('Not yet supported!');
$output = new OutputFormat();
$output->set('SpaceBeforeRules', ' ');
$output->set('SpaceAfterListArgumentSeparator', array('default' => '', ',' => ' '));
$this->assert_sample($data, $output);
}
*/
/**
* Test transform original.
@ -1226,15 +1224,14 @@ class rtlcss_test extends basic_testcase {
* @param array $data the provider data.
* @dataProvider transforms_provider
*/
/* Not supported by MoodleHQ/RTLCSS yet.
public function test_transforms($data) {
$this->markTestSkipped('Not yet supported!');
$output = new OutputFormat();
$output->set('SpaceBeforeRules', ' ');
$output->set('SpaceAfterRules', ' ');
$output->set('SpaceAfterListArgumentSeparator', array('default' => '', ',' => ' '));
$this->assert_sample($data, $output);
}
*/
/**
* Test values n-syntax.