@@ -78,9 +78,9 @@
@if (Model.DisplayAdminLink)
{
-
@T("Common.Catalog.EditProduct")
@@ -134,7 +134,7 @@
}
-
+
@@ -157,6 +157,6 @@
enableZoom: toBool('@(Model.MediaGalleryModel.ImageZoomEnabled)')
};
- $('#pd-form').productDetail(settings);
+ $('#pd-form').productDetail(settings);
});
\ No newline at end of file
diff --git a/test/Smartstore.Core.Tests/Platform/Security/PermissionServiceTests.cs b/test/Smartstore.Core.Tests/Platform/Security/PermissionServiceTests.cs
index 037644d44d..e57b0d8ccc 100644
--- a/test/Smartstore.Core.Tests/Platform/Security/PermissionServiceTests.cs
+++ b/test/Smartstore.Core.Tests/Platform/Security/PermissionServiceTests.cs
@@ -7,6 +7,7 @@
using Smartstore.Core.Identity;
using Smartstore.Core.Localization;
using Smartstore.Core.Security;
+using Smartstore.Core.Stores;
namespace Smartstore.Core.Tests.Platform.Security
{
@@ -17,6 +18,7 @@ public class PermissionServiceTests : ServiceTestBase
private ILocalizationService _localizationService;
private IWorkContext _workContext;
private ICacheManager _cacheManager;
+ private IStoreMappingService _storeMappingService;
private readonly CustomerRole _rAdmin = new() { Id = 10, Active = true, SystemName = "Administrators", Name = "Administrators" };
private readonly CustomerRole _rModerator = new() { Id = 20, Active = true, SystemName = "Moderators", Name = "Moderators" };
@@ -43,7 +45,8 @@ public virtual void Setup()
DbContext,
new Lazy(() => _workContext),
_localizationService,
- _cacheManager);
+ _cacheManager,
+ _storeMappingService);
}
[Test]