Codeception / Specify

BDD style code blocks for PHPUnit / Codeception
MIT License
156 stars 22 forks source link

Revert "Added ability isolate and verify mock objects within a specification" #35

Closed sergeyklay closed 8 years ago

sergeyklay commented 8 years ago

Reverts Codeception/Specify#34

sergeyklay commented 8 years ago

@ischenko I roll back these changes because they are completely broke our tests. For example see: https://travis-ci.org/phalcon/cphalcon/jobs/168296807

Please try to sort out and cover your changes by providing some tests

ischenko commented 8 years ago

@sergeyklay I've managed to reproduce the issue. It occurs when the Specify trait is inherited from base class (see Reproduced issue: Property SpecifyTest::$beforeSpecify does not exist).

I will commit a fix tonight.

ischenko commented 8 years ago

@sergeyklay I've created a pull request with the fix ( see #37 ).