diff --git a/tests/src/Kernel/IgnoreKernelTest.php b/tests/src/Kernel/IgnoreKernelTest.php
index 8069e55..fce40ca 100644
--- a/tests/src/Kernel/IgnoreKernelTest.php
+++ b/tests/src/Kernel/IgnoreKernelTest.php
@@ -217,7 +217,10 @@ class IgnoreKernelTest extends KernelTestBase {
    * @dataProvider exportProvider
    */
   public function testExport(array $modes, array $patterns, array $active, array $sync, array $expected) {
-    $this->config('config_ignore.settings')->set('ignored_config_entities', $patterns)->save();
+    $this->config('config_ignore.settings')
+      ->set('ignored_config_entities', $patterns)
+      ->set('enable_export_filtering', $modes['enable_export_filtering'])
+      ->save();
 
     $expectedStorage = $this->setUpStorages($active, $sync, $expected);
 
@@ -234,7 +237,7 @@ class IgnoreKernelTest extends KernelTestBase {
     return [
       'empty test' => [
         // For now exporting is always off.
-        ['off'],
+        ['enable_export_filtering' => FALSE],
         // The ignore config.
         [],
         // Modifications to the active config keyed by language.
@@ -244,6 +247,34 @@ class IgnoreKernelTest extends KernelTestBase {
         // Modifications to the expected config keyed by language.
         [],
       ],
+      'test that an ignored config is not exported' => [
+        // For this test exporting is activated.
+        ['enable_export_filtering' => TRUE],
+        // The ignore config.
+        ['config_test.system'],
+        // Modifications to the active config keyed by language.
+        [
+          '' => [
+            'config_test.system' => [
+              'foo' => 'Changed in the active config',
+            ],
+          ],
+        ],
+        [
+          // Delete the config_test.system from all languages in sync storage.
+          '' => ['config_test.system' => FALSE],
+          'de' => ['config_test.system' => FALSE],
+          'fr' => ['config_test.system' => FALSE],
+        ],
+        // Modifications to the expected config keyed by language.
+        [
+          '' => [
+            'config_test.system' => [
+              'foo' => 'Changed in the active config',
+            ],
+          ],
+        ],
+      ],
     ];
   }
 
