Skip to content

Commit

Permalink
EWPP-884: Fix field mapping in the source.
Browse files Browse the repository at this point in the history
  • Loading branch information
hernani committed Aug 16, 2021
1 parent 3188fea commit 4bb2695
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,4 @@ queue_thumbnail_downloads: false
new_revision: false
source_configuration:
source_field: oe_media_js_asset_url
field_map:
title: name
field_map: {}
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ public function testJavascriptAssetMedia(): void {
$page->pressButton('Save');

$this->assertSession()->pageTextContains('Javascript asset First JavaScript asset has been updated.');
$this->drupalGet($media->toUrl());
$this->assertEquals('First JavaScript asset', $assert_session->fieldExists('Name')->getValue());
$this->assertEquals('/somejavascript.js', $assert_session->fieldExists('Path')->getValue());
$this->assertEquals('production', $assert_session->fieldExists('Environment')->getValue());
}

}

0 comments on commit 4bb2695

Please sign in to comment.