diff --git a/features/taxonomy/managing_taxons/deleting_taxon.feature b/features/taxonomy/managing_taxons/deleting_taxon.feature index a61383d3b1..1ce2a28b10 100644 --- a/features/taxonomy/managing_taxons/deleting_taxon.feature +++ b/features/taxonomy/managing_taxons/deleting_taxon.feature @@ -16,8 +16,10 @@ Feature: Deleting a taxon @ui Scenario: Deleting a taxon with a child does not delete any other taxons Given the store classifies its products as "Main catalog" - Given the "Main catalog" taxon has children taxon "Shoes" and "Shovels" + And the "Main catalog" taxon has children taxon "Shoes" and "Shovels" And the "Shoes" taxon has children taxon "Men" and "Women" When I delete taxon named "Shoes" Then the taxon named "Shoes" should no longer exist in the registry - And the "Shovels" taxon should appear in the registry + And the taxon named "Men" should no longer exist in the registry + And the taxon named "Women" should no longer exist in the registry + But the "Shovels" taxon should appear in the registry diff --git a/src/Sylius/Bundle/TaxonomyBundle/Resources/config/doctrine/model/Taxon.orm.xml b/src/Sylius/Bundle/TaxonomyBundle/Resources/config/doctrine/model/Taxon.orm.xml index 84b7606ee7..3b5a391a60 100644 --- a/src/Sylius/Bundle/TaxonomyBundle/Resources/config/doctrine/model/Taxon.orm.xml +++ b/src/Sylius/Bundle/TaxonomyBundle/Resources/config/doctrine/model/Taxon.orm.xml @@ -34,7 +34,7 @@ - +