panique / huge

Simple user-authentication solution, embedded into a small framework.
2.14k stars 788 forks source link

[TEST] some tests are weird :) #807

Closed panique closed 7 years ago

panique commented 8 years ago

Some of the tests I've written here are really weird, just saw this when investigating something. Maybe I should never write unit tests with a bottle of red wine open.

This line should return the environment, not the default action https://github.com/panique/huge/blob/master/tests/core/ConfigTest.php#L30

These lines are not really tests :) https://github.com/panique/huge/blob/master/tests/core/FilterTest.php#L19

videsignz commented 8 years ago

Haha, dude, don't underestimate the productivity power of red wine!

panique commented 7 years ago

fixed in upcoming commits