Skip to content

re: Those silly mistakes we all make VIEW POST

re: Why aren't my changes having any affect? Restart the servers — Nothing. Clear development cache — Nothing. Scour docs for hard restart options — N...

Just learning some Test Driven Dev at work. Spent half the AM trying to get this phpunit test to throw an exception when no user id is present on persist. I was expecting the exception BEFORE running anything else in the test function so it was stopping before even testing anything. My boss came over to point that out for me and also pointed out I had no connection to the DB either. It's ok I'm a professional kids.

code of conduct - report abuse