Commit graph

6 commits

Author SHA1 Message Date
Gergő Tisza
a6b07302ea ForeignResourceManager: Write CDX file to disk
* Make 'manageForeignResources.php make-cdx' write the CycloneDX
  file to resources/lib/foreign-resources.cdx.json.
* Commit resources/lib/foreign-resources.cdx.json
* Add a structure test to ensure it is up to date.

Bug: T363589
Change-Id: I1e9d53590d4e7f0577d21cd51d777daf62d1f589
2024-08-08 14:51:01 +02:00
Gergő Tisza
3b276808ed ForeignResourceManager: Ignore network errors during tests
Bug: T362425
Change-Id: Ie7e9e9bbd99c32d5b3153f1fd4a4042b437ce189
2024-08-08 12:51:37 +02:00
Lucas Werkmeister
2c970268b6 Revert "Skip failing ForeignResourceStructureTest"
We don’t want to leave this disabled indefinitely, so let’s try enabling
it again and see how it behaves.

This reverts commit 921175c587.

Bug: T362425
Change-Id: I0c39f00d96dc0e66a8ec434fb00f774a9661a4dd
2024-06-25 19:00:50 +02:00
Bartosz Dziewoński
921175c587 Skip failing ForeignResourceStructureTest
Bug: T362425
Change-Id: If50e96c9fb8a235ce3d9ee5c3922de15f07e2a4b
2024-06-25 17:57:05 +02:00
Reedy
c8276f731a tests: Add more use statements in namespaced classes
Change-Id: I2629cfcb09fde6f18be824779a2c12c013ea0cb5
2024-02-18 21:31:02 +00:00
Timo Tijhof
1911c8fc27 ResourceLoader: Move ForeignResourceStructureTest to integration/
Follows-up I071be5821711f (2cf45bc934) and I8aeffc1f2e81 (3270283abf).

Avoid use of `@standalone` in core, since that group is only
special-cased in WMF CI for extension and skin repos.

Core tests, unlike extension tests, are already skipped by default
when running PHPUnit in CI for extension and skin repos. The exception
is the structure/ directory which is for general system-wide checks
that may also cover installed skins and extentensions.

Given that this test only covers core, and that's why we want to
skip it, move it out of structure/.

Bug: T203694
Change-Id: I7431e5627861845f9d49afc4777b76052d3a6e77
2023-03-29 14:14:55 -07:00
Renamed from tests/phpunit/structure/ForeignResourceStructureTest.php (Browse further)