Skip to content

Unit test for api_extractor #1824

@mappjzc

Description

@mappjzc

Description

After unit test the api_collector . The next one is api_extractor

Describe the solution you'd like

Build an unit-test for api_extractor to cover all possible routes with gomonkey github.com/stretchr/testify/mock .
IMPORTANT: should not be any actual database operation / api request get performed when running test-cases

Has the Feature been Requested Before?

Metadata

Metadata

Assignees

Labels

type/testThis issue is to test plugins or features

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions