8 calls to KernelTestBase::createTestField() in JSON Field 8
- JsonFormatterTest::testFormatter in tests/
src/ Kernel/ JsonFormatterTest.php - Tests that the formatter is rendering an empty array.
- JsonFormatterTest::testFormatterWithData in tests/
src/ Kernel/ JsonFormatterTest.php - Tests that the formatter is rendering data.
- JsonItemTest::testCharacterLimit in tests/
src/ Kernel/ JsonItemTest.php - Test character limit constraints.
- JsonItemTest::testFieldCreate in tests/
src/ Kernel/ JsonItemTest.php - Tests that field values are saved a retrievable.
- JsonItemTest::testFieldCreateWithDefaultValue in tests/
src/ Kernel/ JsonItemTest.php - Tests that default values are used when no value is added.
- JsonItemTest::testSchemaSize in tests/
src/ Kernel/ JsonItemTest.php - @dataProvider providerTestSchemaSize
- JsonItemTest::testValidation in tests/
src/ Kernel/ JsonItemTest.php - Tests the validators.
- JSONTextareaWidgetTest::testWidgetSettings in tests/
src/ Kernel/ JSONTextareaWidgetTest.php - Tests that we can save form settings without error.