这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@hakito
Copy link
Contributor

@hakito hakito commented Sep 1, 2024

The unit tests seem to be broken for quite a long time. This makes it difficult to contribute to the project without breaking something essential.

So this PR is focused on fixing the phpunit tests. It covers the following changes.

  • Add phpunit 11 to composer
  • Fix the most obvious deprecation warnings
  • Fix the tests and adapt them to phpunit 11
  • Add some missing implementations and interface definitions
  • Run tests in github workflow

I also adapted the script part in the composer.json. However without the .phive environment the lint call will fail because of the missing tools directory.

Actually I'd suggest to get rid of the .phive stuff.

Gerd Katzenbeisser added 5 commits August 31, 2024 07:16
Adapt path for phpunit script
The entire helper class does not seem useful to me. I Just made it work.
@hakito hakito force-pushed the develop branch 4 times, most recently from 497ddb8 to 3354db5 Compare September 1, 2024 09:52
@JohnVillalovos
Copy link
Contributor

I haven't reviewed but really like the idea of getting working unit tests. Thank you!

@effgarces
Copy link
Collaborator

Great work, I really wanted to bring back unit tests, but it was really in my list os priorities, so thank you for your contribution

@effgarces effgarces merged commit b7331a8 into LibreBooking:develop Sep 14, 2024
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

Successfully merging this pull request may close these issues.

3 participants