Skip to content

Is there a two day constraint? #76

@mdavis-xyz

Description

@mdavis-xyz

The documentation for GET /flights/departure says:

The given time interval must cover more than two days (UTC)!

The test goes from

1517227200
to
1517230800

Which is 1 hour, which is less than two days.

This test does seem to pass for me.

So it seems that either:

  • there is no 2 day requirement. The documentation should be updated; or
  • the 2 day requirement is soft. Maybe you'll get results, maybe you won't. If so, the test shouldn't test for undefined behavior, and should use a wider timespan

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions