Skip to content

Conversation

@lucs7
Copy link
Contributor

@lucs7 lucs7 commented Aug 1, 2025

Due to the ImportICalPresenterTest tests silently failing, phpunit did fail before running all tests. Now the workflow checks for the OK message in the phpunit log.

In addition this PR fixes the

  • ImportICalPresenterTest -> update to Sabre object does not count as empty
  • CheckoutPresenterTest -> new Paypal state structure
  • AccountRequestValidatorTest -> EmailValidator null check

Plugin tests have been fixed by adding provision of plugin configs based on their config.dist.php files

  • PluginManagerTest
  • ActiveDirectoryTest
  • LdapTest

ResourceRepositoryTest has been marked as broken as it is not compatible with #681 @JohnVillalovos

lucs7 added 2 commits August 1, 2025 21:46
similar to docker container, config.dist.php files are copied to config
folder and used as basis for tests
silent fail on phpunit run are checked through logging output
set ResourceRepositoryTest to BROKEN state, as it is not compatible with
the current codebase

enable other tests
Copy link
Contributor

@JohnVillalovos JohnVillalovos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Thanks @lucs7 I cleaned up the commit messages a little.

@JohnVillalovos JohnVillalovos enabled auto-merge (rebase) August 2, 2025 04:53
@JohnVillalovos JohnVillalovos merged commit d4c006b into LibreBooking:develop Aug 2, 2025
11 checks passed
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.

2 participants