From bd680a44e538e0171216415be947a060ccabaea8 Mon Sep 17 00:00:00 2001 From: Benedek Farkas Date: Fri, 26 Sep 2025 16:11:45 +0200 Subject: [PATCH] Fixing SpecFlow test CreatingAndUsingDateTimeFieldsInAnotherCulture --- src/Orchard.Specs/Tests/DateTime.feature | 2 +- src/Orchard.Specs/Tests/DateTime.feature.cs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Orchard.Specs/Tests/DateTime.feature b/src/Orchard.Specs/Tests/DateTime.feature index 17e76180f..77025c873 100644 --- a/src/Orchard.Specs/Tests/DateTime.feature +++ b/src/Orchard.Specs/Tests/DateTime.feature @@ -151,7 +151,7 @@ Scenario: Creating and using date time fields in another culture # Creating an Event content type Given I have installed Orchard And I have installed "Orchard.Fields" - And I have the file "Content\orchard.core.po" in "Core\App_Data\Localization\fr-FR\orchard.core.po" + And I have the file "..\Content\orchard.core.po" in "Core\App_Data\Localization\fr-FR\orchard.core.po" When I go to "Admin/ContentTypes" Then I should see "]*>.*?Create new type" When I go to "Admin/ContentTypes/Create" diff --git a/src/Orchard.Specs/Tests/DateTime.feature.cs b/src/Orchard.Specs/Tests/DateTime.feature.cs index d5971f46d..9c0a504e3 100644 --- a/src/Orchard.Specs/Tests/DateTime.feature.cs +++ b/src/Orchard.Specs/Tests/DateTime.feature.cs @@ -382,8 +382,8 @@ this.ScenarioInitialize(scenarioInfo); #line 153 testRunner.And("I have installed \"Orchard.Fields\"", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And "); #line 154 - testRunner.And("I have the file \"Content\\orchard.core.po\" in \"Core\\App_Data\\Localization\\fr-FR\\or" + - "chard.core.po\"", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And "); + testRunner.And("I have the file \"..\\Content\\orchard.core.po\" in \"Core\\App_Data\\Localization\\fr-FR" + + "\\orchard.core.po\"", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And "); #line 155 testRunner.When("I go to \"Admin/ContentTypes\"", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When "); #line 156