forgejo/models/migrations/fixtures
Gusted e8c1bfc2e5
[CI] Fix false positive in database migration
- This also means that if one of the test fails, it will actually
propagate to make and subsequently fail the test.
- Remove the 'delete duplicates issue users' code, I checked this
against my local development database (which contains quite bizarre
cases, even some that Forgejo does not like), my local instance database
and against Codeberg production and they all yielded no results to this
query, so I'm removing it thus resolving the error that the delete code
was not compatible with Mysql.
- Sync all tables that are requires by the migration in the test.
- Resolves #2206

(cherry picked from commit 8e02be7e89)
(cherry picked from commit 006f064416)
2024-02-05 13:33:59 +01:00
..
Test_AddCombinedIndexToIssueUser [CI] Fix false positive in database migration 2024-02-05 13:33:59 +01:00
Test_AddConfidentialClientColumnToOAuth2ApplicationTable Move migration test fixtures to the correct directories (#21901) 2022-11-23 18:24:55 +08:00
Test_AddHeaderAuthorizationEncryptedColWebhook Move migration test fixtures to the correct directories (#21901) 2022-11-23 18:24:55 +08:00
Test_DeleteOrphanedIssueLabels Fix more yaml lint errors (#27284) 2023-09-26 12:56:42 -04:00
Test_RemigrateU2FCredentials Move migration test fixtures to the correct directories (#21901) 2022-11-23 18:24:55 +08:00
Test_RemoveInvalidLabels Fix more yaml lint errors (#27284) 2023-09-26 12:56:42 -04:00
Test_RepositoryFormat Add support for sha256 repositories (#23894) 2024-01-19 17:05:02 +01:00
Test_StoreWebauthnCredentialIDAsBytes Fix more yaml lint errors (#27284) 2023-09-26 12:56:42 -04:00
Test_UnwrapLDAPSourceCfg Move migration test fixtures to the correct directories (#21901) 2022-11-23 18:24:55 +08:00
Test_UpdateOpenMilestoneCounts Move migration test fixtures to the correct directories (#21901) 2022-11-23 18:24:55 +08:00