mirror of
https://github.com/liukuo362573/YiShaAdmin.git
synced 2026-10-29 12:42:08 +08:00
32 lines
707 B
C#
32 lines
707 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
using NUnit.Framework;
|
|
using YiSha.Util;
|
|
using YiSha.Util.Model;
|
|
|
|
namespace YiSha.DataTest
|
|
{
|
|
[SetUpFixture]
|
|
public class SetupFixture
|
|
{
|
|
[OneTimeSetUp]
|
|
public void OneTimeSetUp()
|
|
{
|
|
GlobalContext.SystemConfig = new SystemConfig
|
|
{
|
|
DBProvider = "MySql",
|
|
DBConnectionString = "server=localhost;database=YiShaAdmin;user=root;password=123456;port=3306;",
|
|
DBCommandTimeout = 180,
|
|
DBBackup = "DataBase"
|
|
};
|
|
}
|
|
|
|
[OneTimeTearDown]
|
|
public void OneTimeTearDown()
|
|
{
|
|
|
|
}
|
|
}
|
|
}
|