cashmusic/DIY — comment on commit 2d896e54b029a0bd45374504273bcb74e955d468
File:  line 0
By jessevondoom:

First testing that it exists, then testing that it's a specific type (string or int) ...so isset() returns bool on if it's defined or not, then is_int() and is_string() return bool on type. So I used the True assertion wrapped around a function that returns true for the state we want.

Well the CLI test stuff gets messy because a few of the functions in CASHSystem rely on server variables that don't exist when we run from CLI. So I'm not sure if we should just create them — that would basically guarantee a passing test which isn't really all that useful to us. There might just stuff we save for integration tests...