From 2dcc519054be041ef5aa6cfac9dac13b0ea04eca Mon Sep 17 00:00:00 2001
From: Sean Hall <r.sean.hall@gmail.com>
Date: Wed, 2 Jan 2019 22:33:22 -0600
Subject: Add tuple definitions and fix test.

---
 src/test/WixToolsetTest.Sql/SqlExtensionFixture.cs                  | 2 +-
 src/test/WixToolsetTest.Sql/TestData/UsingSql/PackageComponents.wxs | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

(limited to 'src/test/WixToolsetTest.Sql')

diff --git a/src/test/WixToolsetTest.Sql/SqlExtensionFixture.cs b/src/test/WixToolsetTest.Sql/SqlExtensionFixture.cs
index 831bcd83..d7fe74e6 100644
--- a/src/test/WixToolsetTest.Sql/SqlExtensionFixture.cs
+++ b/src/test/WixToolsetTest.Sql/SqlExtensionFixture.cs
@@ -19,7 +19,7 @@ namespace WixToolsetTest.Sql
             var results = build.BuildAndQuery(Build, "SqlString");
             Assert.Equal(new[]
             {
-                "SqlString:",
+                "SqlString:TestString\tTestDB\tfilF5_pLhBuF5b4N9XEo52g_hUM5Lo\tCREATE TABLE TestTable1(name varchar(20), value varchar(20))\t\t1\t0",
             }, results.OrderBy(s => s).ToArray());
         }
 
diff --git a/src/test/WixToolsetTest.Sql/TestData/UsingSql/PackageComponents.wxs b/src/test/WixToolsetTest.Sql/TestData/UsingSql/PackageComponents.wxs
index d2572659..653f7e02 100644
--- a/src/test/WixToolsetTest.Sql/TestData/UsingSql/PackageComponents.wxs
+++ b/src/test/WixToolsetTest.Sql/TestData/UsingSql/PackageComponents.wxs
@@ -3,8 +3,8 @@
      xmlns:sql="http://wixtoolset.org/schemas/v4/wxs/sql">
   <Fragment>
     <ComponentGroup Id="ProductComponents" Directory="INSTALLFOLDER">
-        <Component KeyPath="yes">
-            <CreateFolder />
+        <Component>
+            <File Source="example.txt" />
             <sql:SqlDatabase Id="TestDB" Database="MyDB" Server="MySQLHostName" Instance="MyInstanceName" CreateOnInstall="yes" DropOnUninstall="yes" ConfirmOverwrite="yes">
                 <sql:SqlString Id="TestString" SQL="CREATE TABLE TestTable1(name varchar(20), value varchar(20))" ExecuteOnInstall="yes" />
             </sql:SqlDatabase>
-- 
cgit v1.2.3-55-g6feb

