JDGrimes / wpppb

Bootstrap for integration testing WordPress plugins with PHPUnit
MIT License
13 stars 3 forks source link

Load speed trap listener class #12

Closed JDGrimes closed 7 years ago

JDGrimes commented 7 years ago

I just discovered via https://github.com/WordPoints/wordpoints/issues/549 that we aren't loading the SpeedTrapListener class from WordPress's bootstrap, even though we reference it as a listener in our default PHPUnit config file. This means that it won't work, and on PHP 7.0 it will actually result in the tests being prevented by a fatal error.