X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Ffield_layout%2Ftests%2Fsrc%2FKernel%2FFieldLayoutUninstallTest.php;fp=web%2Fcore%2Fmodules%2Ffield_layout%2Ftests%2Fsrc%2FKernel%2FFieldLayoutUninstallTest.php;h=387e6b235bb0a34416d3e42cf444e284431a9d81;hp=0000000000000000000000000000000000000000;hb=0bf8d09d2542548982e81a441b1f16e75873a04f;hpb=74df008bdbb3a11eeea356744f39b802369bda3c diff --git a/web/core/modules/field_layout/tests/src/Kernel/FieldLayoutUninstallTest.php b/web/core/modules/field_layout/tests/src/Kernel/FieldLayoutUninstallTest.php new file mode 100644 index 000000000..387e6b235 --- /dev/null +++ b/web/core/modules/field_layout/tests/src/Kernel/FieldLayoutUninstallTest.php @@ -0,0 +1,29 @@ +installSchema('user', 'users_data'); + + // Setup layout builder and same displays. + $this->installLayoutBuilder(); + + // Ensure install hook can handle displays without a layout. + $this->container->get('module_installer')->install(['field_layout']); + + // Ensure uninstall hook can handle displays without a layout. + $this->container->get('module_installer')->uninstall(['field_layout']); + } + +}