mirror of
https://github.com/dotnetcore/AgileConfig.git
synced 2026-10-18 13:11:08 +08:00
24 lines
663 B
C#
24 lines
663 B
C#
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using AgileConfig.Server.ServiceTests.sqlite;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace AgileConfig.Server.ServiceTests.oracle
|
|
{
|
|
public class AppServiceTests_oracle : AppServiceTests
|
|
{
|
|
string conn = "user id=x;password=x;data source=192.168.0.123/orcl";
|
|
|
|
|
|
public override Task<Dictionary<string, string>> GetConfigurationData()
|
|
{
|
|
var dict = new Dictionary<string, string>();
|
|
dict["db:provider"] = "oracle";
|
|
dict["db:conn"] = conn;
|
|
|
|
|
|
return Task.FromResult(dict);
|
|
}
|
|
}
|
|
} |