config_test.types.yml in Drupal 9
Same filename and directory in other branches
core/modules/config/tests/config_test/config/install/config_test.types.yml
3 string references to 'config_test.types'
- ConfigCRUDTest::testDataTypes in core/
tests/ Drupal/ KernelTests/ Core/ Config/ ConfigCRUDTest.php - Tests data type handling.
- ConfigStorageTestBase::testDataTypes in core/
tests/ Drupal/ KernelTests/ Core/ Config/ Storage/ ConfigStorageTestBase.php - Tests storage writing and reading data preserving data type.
- SchemaCheckTraitTest::testTrait in core/
tests/ Drupal/ KernelTests/ Core/ Config/ SchemaCheckTraitTest.php - Tests \Drupal\Core\Config\Schema\SchemaCheckTrait.
File
core/modules/config/tests/config_test/config/install/config_test.types.ymlView source
- array: []
- boolean: true
- exp: 1.2e+34
- float: 3.14159
- float_as_integer: !!float 1
- hex: 0xC
- int: 99
- # Symfony 5.1's YAML parser issues a deprecation when reading octal with a
- # leading zero, to comply with YAML 1.2. However PECL YAML is still YAML 1.1
- # compliant. @todo: revisit parsing of octal once PECL YAML supports YAML 1.2.
- # @see https://www.drupal.org/project/drupal/issues/3205480
- # octal: 0775
- string: string
- string_int: '1'