Skip to content

Test failures (with older OpenAPI::Modern?) #5

@eserte

Description

@eserte

On some of my smokers the test suite fails like this:

use of deprecated form of add_schema with document at /usr/perl5.40.0/lib/site_perl/5.40.0/OpenAPI/Modern.pm line 76.
use of deprecated form of add_schema with document at /usr/perl5.40.0/lib/site_perl/5.40.0/OpenAPI/Modern.pm line 76.
configs, data_path, depth, errors, evaluator, identifiers, schema_path, spec_version, subschemas, vocabularies not supported as a config override in traverse at /usr/perl5.40.0/lib/site_perl/5.40.0/OpenAPI/Modern.pm line 76.
Compilation failed in require at t/invalid.t line 14.
BEGIN failed--compilation aborted at t/invalid.t line 14.
t/invalid.t ............ 
Dubious, test returned 255 (wstat 65280, 0xff00)
No subtests run 
...

or like this:

Can't locate object method "new" via package "JSON::Schema::Modern" at /usr/perl5.22.0p/lib/site_perl/5.22.0/OpenAPI/Modern.pm line 69.
Compilation failed in require at t/invalid.t line 14.
BEGIN failed--compilation aborted at t/invalid.t line 14.
t/invalid.t ............ 
Dubious, test returned 255 (wstat 65280, 0xff00)
No subtests run 

I guess this happens if OpenAPI::Modern is too old or so.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions