mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-05-11 08:08:02 +08:00
38 lines
958 B
C#
38 lines
958 B
C#
using System;
|
|
using Infrastructure;
|
|
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
|
using OpenAuth.App;
|
|
using OpenAuth.App.Request;
|
|
using OpenAuth.Repository.Domain;
|
|
|
|
namespace OpenAuth.UnitTest
|
|
{
|
|
[TestClass]
|
|
public class TestWorkflow :TestBase
|
|
{
|
|
private FlowSchemeApp _app;
|
|
private FlowInstanceApp _runApp;
|
|
|
|
public TestWorkflow()
|
|
{
|
|
_app = AutofacExt.GetFromFac<FlowSchemeApp>();
|
|
_runApp = AutofacExt.GetFromFac<FlowInstanceApp>();
|
|
}
|
|
|
|
/// <summary>
|
|
/// 测试流程
|
|
/// <para>李玉宝于2017-01-20 9:59:11</para>
|
|
/// </summary>
|
|
[TestMethod]
|
|
public void Verify()
|
|
{
|
|
_runApp.Verification(new VerificationReq
|
|
{
|
|
FlowInstanceId = "c4aa73f2-d5ea-43c3-8b7e-903e31ba5828",
|
|
VerificationFinally = "3"
|
|
});
|
|
}
|
|
|
|
}
|
|
}
|