Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHPUnit errors #134

Open
mazitov-az opened this issue Aug 2, 2024 · 1 comment
Open

PHPUnit errors #134

mazitov-az opened this issue Aug 2, 2024 · 1 comment

Comments

@mazitov-az
Copy link

Hi!

Before installing the plugin, I run tests.

version plugin: 2024050200
release: 2024050200

I launched
vendor/bin/phpunit --filter mod_dialogue
Result:

Moodle 4.1.11+ (Build: 20240802)
Php: 8.0.30, mariadb: 10.6.15-MariaDB-1:10.6.15+maria~ubu2004, OS: Linux 5.4.0-182-generic x86_64
PHPUnit 9.5.28 by Sebastian Bergmann and contributors.

E.....                                                              6 / 6 (100%)

Time: 00:01.097, Memory: 360.00 MB

There was 1 error:

1) core\externallib_test::test_all_external_info with data set "mod_dialogue_search_users" (stdClass Object (...))
Warning: unexpected database modification, resetting DB state

/moodle/lib/phpunit/classes/util.php:299
/moodle/lib/phpunit/classes/advanced_testcase.php:538
/moodle/lib/phpunit/classes/advanced_testcase.php:136

ERRORS!
Tests: 6, Assertions: 95, Errors: 1.

@danmarsden
Copy link
Owner

Thanks for the report - that's not showing on the github actions pipelines for the 4.1 branch and it's not tripping when I run that on the main branch either - if you manage to track down what is causing it for you, feel free to submit a PR for review!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants