Files
Sebastiaan van Stijn c2dca55d7d testutil/fixtures/plugin: makePluginBundle: fix invalid spec
The fixture was using an invalid formatted Capability, which wasn't
detected in the old API code, but fails with the API module, for example:

    === RUN   TestPluginsWithRuntimes
        plugin_test.go:269: assertion failed: error is not nil: json: error calling MarshalText for type plugin.CapabilityID: capability "docker.dummy/1.0" cannot contain a dot
    --- FAIL: TestPluginsWithRuntimes (0.63s)
    === RUN   TestPluginBackCompatMediaTypes
        plugin_test.go:331: assertion failed: error is not nil: json: error calling MarshalText for type plugin.CapabilityID: capability "docker.dummy/1.0" cannot contain a dot
    --- FAIL: TestPluginBackCompatMediaTypes (0.11s)
    FAIL

This patch applies the same changes as ee560a3b23
in the master branch.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2025-08-27 10:32:59 +02:00
..
2025-05-30 15:59:16 +02:00