Skip to content

Conversation

yukoff
Copy link
Contributor

@yukoff yukoff commented Sep 10, 2017

  • Use vendor phpunit instead of global
  • Add --prefer-lowest to matrix
  • Add php 7.1 and nightly to matrix

@yukoff yukoff self-assigned this Sep 10, 2017
@yukoff yukoff force-pushed the feature/make-tests-green branch 4 times, most recently from 8aece98 to 4c39553 Compare September 10, 2017 02:24
* Use vendor phpunit instead of global
* Add --prefer-lowest to matrix
* Add php 7.1 and nightly to matrix
@yukoff yukoff force-pushed the feature/make-tests-green branch from 4c39553 to dc7e0dd Compare September 23, 2017 00:38
Laravel dispatcher should be either Illuminate\Contracts\Events\Dispatcher
or Illuminate\Events\Dispatcher, however only the latter has fire()
method, which in turn just a wrapper for dispatch()

Using fire() inplace with contract tests are failing with exceptions:
1. Tmdb\Laravel\Adapters\Tests\EventDispatcherTestLaravel5::it_dispatches_events_through_both_laravel_and_symfony
   Prophecy\Exception\Doubler\MethodNotFoundException: Method `Double\Dispatcher\P25::fire()` is not defined.

2. Tmdb\Laravel\Adapters\Tests\EventDispatcherTestLaravel5::it_returns_the_event_returned_by_the_symfony_dispatcher
   Prophecy\Exception\Doubler\MethodNotFoundException: Method `Double\Dispatcher\P27::fire()` not found.
@yukoff yukoff force-pushed the feature/make-tests-green branch from dc7e0dd to 2442690 Compare September 24, 2017 09:29
@yukoff yukoff merged commit 952878b into php-tmdb:master Sep 24, 2017
@yukoff yukoff deleted the feature/make-tests-green branch September 24, 2017 09:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant