Skip to content

Fix PHP notices that are raised in unit test suite. #9

Open

Description

@m4olivei

Tests pass, but there are a number of PHP notices that are raised, eg.

https://travis-ci.org/chapter-three/AppleNewsAPI/jobs/192384948

These should be cleaned up.

Activity

  1. m4olivei commented on Jan 16, 2017

    @m4olivei
    ContributorAuthor

    I tried for an hour or so to come up with something that would work to test and assert PHP notices and errors, but wasn't able to. Seems like something about how the json() methods do their work, doesn't allow PHPUnit to bubble up an exception correctly to be caught by the test case. 🤷‍♂️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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