Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
patrick477 committed Jul 6, 2018
1 parent 0e5f568 commit 886e5fe
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions features/admin/managing_media.feature
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Feature: Managing digital assets
Given the store operates on a single channel in "United States"
And I am logged in as an administrator

@ui
@todo
Scenario: Creating image media
When I go to the create media page
And I select image as media type
Expand All @@ -19,7 +19,7 @@ Feature: Managing digital assets
And I should be on the edit media page


@ui
@todo
Scenario: Updating image media asset
Given there is a media with "price"
And I select image as media type
2 changes: 1 addition & 1 deletion src/Form/Type/MediaType.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public function buildForm(FormBuilderInterface $builder, array $options): void
'choices' => $this->providers,
])
->add('file', FileType::class, [
'label' => 'bitbag_sylius_cms_plugin.ui.type',
'label' => 'bitbag_sylius_cms_plugin.ui.file',
])
->add('sections', SectionAutocompleteChoiceType::class, [
'label' => 'bitbag_sylius_cms_plugin.ui.sections',
Expand Down
2 changes: 1 addition & 1 deletion tests/Behat/Context/Setup/BlockContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public function __construct(
}

/**
* @Given there is a "Krzysztof Krawczyk" block in the store3
* @Given there is a block in the store
*/
public function thereIsABlockInTheStore(): void
{
Expand Down

0 comments on commit 886e5fe

Please sign in to comment.