diff --git a/tests/unit/class2Test.php b/tests/unit/class2Test.php index ba0daf42b..e344fab7a 100644 --- a/tests/unit/class2Test.php +++ b/tests/unit/class2Test.php @@ -54,6 +54,11 @@ $result = check_class(254, "253,254,250,251,0"); $this->assertTrue($result); + $result = check_class('0', "253,254,250,251,0"); + $this->assertTrue($result); + + $result = check_class(null, "253,254,250,251,0"); + $this->assertTrue($result); }