-
Notifications
You must be signed in to change notification settings - Fork 17
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
Get the integration tests up and running again #1300
base: main
Are you sure you want to change the base?
Conversation
4c32edd
to
82db8d1
Compare
- The messenger transactional wrap is not working with the tests, as it conflicts with the DoctrineTestBundle - Fix some type problems (DateTime vs DateTimeImmutable, nulls and initialization errors) - `SearchManager::findActivityPubActorsByUsername` now converts `!user@domain` into `@user@domain` so searching for a magazine by `!mag@domain` works from the API as well - The `StatsContentRepository` had a sign error - add a new docker compose for the test dependencies, as well as oauth keys for the tests - remove the purge user test, as this is no longer an option - change the .env.test to fit the new dependencies
82db8d1
to
18db1cc
Compare
f18437b
to
e4f5cea
Compare
e4f5cea
to
9768db4
Compare
Ok, so it is now working, but the tests take forever: 23 minutes. There is a library called paratest that utilizes parallel testing, however the transaction isolation is not working at the moment (I have no idea why) so we have random assert failures with it (just tested it) |
Ok, so just checked what actually happens. It does not commit anything to the DB, however cahing is screwing us a little bit and the static settings were a problem. I am working on it :D |
If you need more php extensions installed. Let me know right. |
SearchManager::findActivityPubActorsByUsername
now converts!user@domain
into@user@domain
so searching for a magazine by!mag@domain
works from the API as wellStatsContentRepository
had a sign error