Tests with a view using entity_browser are failing because the schema isn't defined correctly. I get the following error

The test did not complete due to a fatal error.
Exception Uncaught e ConfigSchemaCheck   93 Drupal\Core\Config\Testing\ConfigSc
    Drupal\Core\Config\Schema\SchemaIncompleteException: Schema errors for
    views.view.media_library with the following errors:
    views.view.media_library:display.entity_browser_1.display_options missing
    schema in Drupal\Core\Config\Testing\ConfigSchemaChecker->onConfigSave()
    (line 93 of
    /home/travis/build/isthegeek/drupal-8/drupal/core/lib/Drupal/Core/Config/Testing/ConfigSchemaChecker.php).
    Drupal\Core\Config\Testing\ConfigSchemaChecker->onConfigSave(Object,
    'config.save', Object) (Line: 111)
    Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('config.save',
    Object) (Line: 227)
    Drupal\Core\Config\Config->save(1) (Line: 280)
    Drupal\Core\Config\Entity\ConfigEntityStorage->doSave('media_library',
    Object) (Line: 392)
    Drupal\Core\Entity\EntityStorageBase->save(Object) (Line: 259)
    Drupal\Core\Config\Entity\ConfigEntityStorage->save(Object) (Line: 358)
    Drupal\Core\Entity\Entity->save() (Line: 637)
    Drupal\Core\Config\Entity\ConfigEntityBase->save() (Line: 321)
    Drupal\Core\Config\ConfigInstaller->createConfiguration('',
    Array) (Line: 125)
    Drupal\Core\Config\ConfigInstaller->installDefaultConfig('module',
    'media') (Line: 75)
    Drupal\Core\ProxyClass\Config\ConfigInstaller->installDefaultConfig('module',
    'media') (Line: 248)
    Drupal\Core\Extension\ModuleInstaller->install(Array, 1) (Line: 83)
    Drupal\Core\ProxyClass\Extension\ModuleInstaller->install(Array, 1)
    (Line: 897)
    Drupal\simpletest\WebTestBase->installModulesFromClassProperty(Object)
    (Line: 561)
    Drupal\simpletest\WebTestBase->setUp() (Line: 37)
    Drupal\media\Tests\GalleryBundleTest->setUp() (Line: 1046)
    Drupal\simpletest\TestBase->run(Array) (Line: 723)
    simpletest_script_run_one_test('1',
    'Drupal\media\Tests\GalleryBundleTest') (Line: 59)

The test results can be found at https://travis-ci.org/isthegeek/media/jobs/138227118

Comments

royal121 created an issue. See original summary.

royal121’s picture

Status: Active » Needs review
StatusFileSize
new630 bytes
slashrsm’s picture

Issue tags: +D8Media
StatusFileSize
new470 bytes
new657 bytes

This seems the correct solution.

royal121’s picture

StatusFileSize
new465 bytes
slashrsm’s picture

Status: Needs review » Fixed

Committed. Thanks!

  • slashrsm committed 9bb131b on 8.x-1.x authored by royal121
    Issue #2750863 by royal121, slashrsm: Schema error with tests
    

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.