We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4bcf248 commit a988541Copy full SHA for a988541
test/WebJobs.Script.Tests/ApiHub/ApiHubTestHelper.cs
@@ -42,6 +42,11 @@ public static void SetDefaultConnectionFactory()
42
tableAdapter.AddDataSet(DataSetName);
43
tableAdapter.AddTable(DataSetName, TableName, primaryKey: PrimaryKeyColumn);
44
ConnectionFactory.Default = new FakeConnectionFactory(tableAdapter);
45
+
46
+ // The value doesn't really matter here - this is just so we
47
+ // pass the Connection value validation that ScriptHost performs
48
+ // on startup
49
+ Environment.SetEnvironmentVariable(Key, "TestMockSqlConnection");
50
}
51
else
52
{
0 commit comments