Using providers in PHPUnit

So here’s a real simple example of how to use Providers in PHPUnit. They’re very useful for running the exact same test multiple times but with different data being fed in. class ScoringTest extends TestCase { /** * Some Grades */ public static function all_grades_provider() { return [ [100.00], [50.00], [0], ]; } /** * […]

Read More Using providers in PHPUnit

homestead date / time is out

I ran into a weird bud earlier with homestead to do with timings. Apparently it’s ok for the vagrant / homestead box to be 20minutes out of time sync without it being an issue… However I’m building an reverse auction site and timings are kind or key. So, if you notice the server time is […]

Read More homestead date / time is out