diff --git a/tests/Asset/EmptyForm.php b/tests/Asset/EmptyForm.php new file mode 100644 index 0000000..ad1e528 --- /dev/null +++ b/tests/Asset/EmptyForm.php @@ -0,0 +1,13 @@ + @@ -77,5 +78,15 @@ public function testInstanceInputFilter() $signInForm->setValues([]); $this->assertFalse($signInForm->isValid()); } + + /** + * Testing empty inputs. + */ + public function testEmptyInputs() + { + $emptyForm = new EmptyForm; + $emptyForm->setValues([]); + $this->assertTrue($emptyForm->isValid()); + } }