Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OPENEUROPA-2659: Entity browser - improve visual styling. #101

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

nagyad
Copy link
Member

@nagyad nagyad commented Apr 7, 2020

The first commit is from the Event integration, but I need this solution for testing in EWCMS since there the files are not directly in fixtures, but in separate subfolders.

@@ -264,12 +268,14 @@ protected function getConfigContext(): ConfigContext {
*
* @param string $file_name
* File name, relative to Mink 'files_path' location.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The file name is no longer relative to the files_path (Ignore this if you take my previous comment into account)

@@ -119,7 +119,9 @@ public function createMediaDocuments(TableNode $table): void {
// Retrieve the url table from the test scenario.
$files = $table->getColumnsHash();
foreach ($files as $properties) {
$file = $this->createFileEntity($properties['file']);
$file_name = basename($properties['file']);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could handle this inside the createFileEntity method to avoid duplicating the code.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, why not.

imanoleguskiza
imanoleguskiza previously approved these changes Apr 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants