allow non boolean simple conditionals #529
7 errors, 832 pass in 36s
839 tests 832 ✅ 36s ⏱️
124 suites 0 💤
1 files 0 ❌ 7 🔥
Results for commit d80e73b.
Annotations
github-actions / Test Results
testInvoke with data set "should hide" (Northwestern.SysDev.DynamicForms.Tests.Conditional.SimpleConditionalTest) with error
.build/junit.xml [took 0s]
Raw output
Northwestern\SysDev\DynamicForms\Tests\Conditional\SimpleConditionalTest::testInvoke with data set "should hide"
TypeError: Cannot access offset of type string on string
/home/runner/work/dynamic-forms/dynamic-forms/src/Conditional/SimpleConditional.php:21
/home/runner/work/dynamic-forms/dynamic-forms/tests/Conditional/SimpleConditionalTest.php:19
github-actions / Test Results
testInvoke with data set "inverse, should not show" (Northwestern.SysDev.DynamicForms.Tests.Conditional.SimpleConditionalTest) with error
.build/junit.xml [took 0s]
Raw output
Northwestern\SysDev\DynamicForms\Tests\Conditional\SimpleConditionalTest::testInvoke with data set "inverse, should not show"
TypeError: Cannot access offset of type string on string
/home/runner/work/dynamic-forms/dynamic-forms/src/Conditional/SimpleConditional.php:21
/home/runner/work/dynamic-forms/dynamic-forms/tests/Conditional/SimpleConditionalTest.php:19
github-actions / Test Results
testInvoke with data set "Missing value handled" (Northwestern.SysDev.DynamicForms.Tests.Conditional.SimpleConditionalTest) with error
.build/junit.xml [took 0s]
Raw output
Northwestern\SysDev\DynamicForms\Tests\Conditional\SimpleConditionalTest::testInvoke with data set "Missing value handled"
ErrorException: Trying to access array offset on value of type null
/home/runner/work/dynamic-forms/dynamic-forms/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php:256
/home/runner/work/dynamic-forms/dynamic-forms/src/Conditional/SimpleConditional.php:21
/home/runner/work/dynamic-forms/dynamic-forms/tests/Conditional/SimpleConditionalTest.php:19
github-actions / Test Results
testValidation with data set "form with conditional fields passes" (Northwestern.SysDev.DynamicForms.Tests.Forms.ValidatedFormTest) with error
.build/junit.xml [took 0s]
Raw output
Northwestern\SysDev\DynamicForms\Tests\Forms\ValidatedFormTest::testValidation with data set "form with conditional fields passes"
TypeError: Cannot access offset of type string on string
/home/runner/work/dynamic-forms/dynamic-forms/src/Conditional/SimpleConditional.php:21
/home/runner/work/dynamic-forms/dynamic-forms/src/Forms/ValidatedForm.php:153
/home/runner/work/dynamic-forms/dynamic-forms/src/Forms/ValidatedForm.php:162
/home/runner/work/dynamic-forms/dynamic-forms/src/Forms/ValidatedForm.php:36
/home/runner/work/dynamic-forms/dynamic-forms/tests/Forms/ValidatedFormTest.php:95
github-actions / Test Results
testValidation with data set "strips hidden conditional field from user data" (Northwestern.SysDev.DynamicForms.Tests.Forms.ValidatedFormTest) with error
.build/junit.xml [took 0s]
Raw output
Northwestern\SysDev\DynamicForms\Tests\Forms\ValidatedFormTest::testValidation with data set "strips hidden conditional field from user data"
TypeError: Cannot access offset of type string on string
/home/runner/work/dynamic-forms/dynamic-forms/src/Conditional/SimpleConditional.php:21
/home/runner/work/dynamic-forms/dynamic-forms/src/Forms/ValidatedForm.php:153
/home/runner/work/dynamic-forms/dynamic-forms/src/Forms/ValidatedForm.php:162
/home/runner/work/dynamic-forms/dynamic-forms/src/Forms/ValidatedForm.php:36
/home/runner/work/dynamic-forms/dynamic-forms/tests/Forms/ValidatedFormTest.php:95
github-actions / Test Results
testValidation with data set "false conditionals on parent components should skip validations on child components" (Northwestern.SysDev.DynamicForms.Tests.Forms.ValidatedFormTest) with error
.build/junit.xml [took 0s]
Raw output
Northwestern\SysDev\DynamicForms\Tests\Forms\ValidatedFormTest::testValidation with data set "false conditionals on parent components should skip validations on child components"
ErrorException: Uninitialized string offset 1
/home/runner/work/dynamic-forms/dynamic-forms/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php:256
/home/runner/work/dynamic-forms/dynamic-forms/src/Conditional/SimpleConditional.php:21
/home/runner/work/dynamic-forms/dynamic-forms/src/Forms/ValidatedForm.php:153
/home/runner/work/dynamic-forms/dynamic-forms/src/Forms/ValidatedForm.php:36
/home/runner/work/dynamic-forms/dynamic-forms/tests/Forms/ValidatedFormTest.php:95
github-actions / Test Results
testValidation with data set "simple conditional missing properties is ignored instead of erroring - passes" (Northwestern.SysDev.DynamicForms.Tests.Forms.ValidatedFormTest) with error
.build/junit.xml [took 0s]
Raw output
Northwestern\SysDev\DynamicForms\Tests\Forms\ValidatedFormTest::testValidation with data set "simple conditional missing properties is ignored instead of erroring - passes"
TypeError: Cannot access offset of type string on string
/home/runner/work/dynamic-forms/dynamic-forms/src/Conditional/SimpleConditional.php:21
/home/runner/work/dynamic-forms/dynamic-forms/src/Forms/ValidatedForm.php:153
/home/runner/work/dynamic-forms/dynamic-forms/src/Forms/ValidatedForm.php:162
/home/runner/work/dynamic-forms/dynamic-forms/src/Forms/ValidatedForm.php:36
/home/runner/work/dynamic-forms/dynamic-forms/tests/Forms/ValidatedFormTest.php:95