Skip to content

tool_redirects\regex_validator_test unittest failing 5.1 site #38

@micoreyes

Description

@micoreyes

Issues

1) tool_redirects\regex_validator_test::test_it_validates_the_regex
The data provider specified for tool_redirects\regex_validator_test::test_it_validates_the_regex is invalid
Data Provider method tool_redirects\regex_validator_test::provider_for_test_it_validates_the_regex() is not static

/var/www/osbc/public/admin/tool/redirects/tests/phpunit/regex_validator_test.php:59

2) tool_redirects\regex_validator_test::test_it_throws_exception_if_regex_is_not_string
The data provider specified for tool_redirects\regex_validator_test::test_it_throws_exception_if_regex_is_not_string is invalid
Data Provider method tool_redirects\regex_validator_test::provider_for_test_it_throws_exception_if_regex_is_not_string() is not static

/var/www/osbc/public/admin/tool/redirects/tests/phpunit/regex_validator_test.php:83

Moodle version : Moodle 5.1

How to replicate:

vendor/bin/phpunit
vendor/bin/phpunit public/admin/tool/redirects/tests/phpunit/regex_validator_test.php

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions