3.0.1.8 Control repository status check on update
This commit is contained in:
@@ -1,9 +1,6 @@
|
||||
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||
using Sarand.BusinessMgr.Net.Core.Web.App;
|
||||
using Sarand.BusinessMgr.Net.Standard.Base.App;
|
||||
using Sarand.BusinessMgr.Net.Standard.Base.App;
|
||||
using Sarand.BusinessMgr.Net.Standard.Base.Bus.Control;
|
||||
using Sarand.BusinessMgr.Net.Standard.Base.Consoles;
|
||||
using Sarand.BusinessMgr.Net.Standard.Base.Mgr.Control;
|
||||
using Sarand.BusinessMgr.Web.Control.Consoles;
|
||||
using Sarand.Net.Standard.Base.Core;
|
||||
using Sarand.Net.Standard.Base.Dbas;
|
||||
@@ -129,7 +126,7 @@ namespace Sarand.BusinessMgr.Test.Web.Control.App
|
||||
Assert.IsNotNull(instanceConsole);
|
||||
|
||||
// Session Context.
|
||||
ushort sessionIdx = App_Control.GetCoreSessionIndexForControlRepository(repository.OwnerId, repository.Id);
|
||||
ushort sessionIdx = App_Control.GetCoreSessionIndexForControlRepository(repository.Id);
|
||||
SbmSessionContext sessionContext = App_Control.GetSessionContextByIndex(sessionIdx);
|
||||
Assert.IsNotNull(sessionContext);
|
||||
Assert.AreEqual(sessionIdx, sessionContext.Index);
|
||||
|
||||
Reference in New Issue
Block a user