Index: Application/Ringtoets/test/Application.Ringtoets.Storage.TestUtil/SqLiteDatabaseHelper.cs
===================================================================
diff -u -r4e65fa5d8abdf1c0a9238492cdbcd7d2b3fa2d0f -rbc9552772d4e6a6bd786dfcaef808da1964e8c53
--- Application/Ringtoets/test/Application.Ringtoets.Storage.TestUtil/SqLiteDatabaseHelper.cs (.../SqLiteDatabaseHelper.cs) (revision 4e65fa5d8abdf1c0a9238492cdbcd7d2b3fa2d0f)
+++ Application/Ringtoets/test/Application.Ringtoets.Storage.TestUtil/SqLiteDatabaseHelper.cs (.../SqLiteDatabaseHelper.cs) (revision bc9552772d4e6a6bd786dfcaef808da1964e8c53)
@@ -20,8 +20,10 @@
// All rights reserved.
using System;
+using System.Data.Entity.Core.EntityClient;
using System.Data.SQLite;
using Core.Common.Base.Data;
+using Core.Common.Base.Properties;
using NUnit.Framework;
namespace Application.Ringtoets.Storage.TestUtil
@@ -97,5 +99,14 @@
"CREATE TABLE VersionEntity (VersionId INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL," +
" FromVersion VARCHAR (16), ToVersion VARCHAR (16),Timestamp NUMERIC); ";
}
+
+ ///
+ /// Returns a corrupt databaseschema that will pass validation.
+ ///
+ /// The corrupt databaseschema that will pass validation.
+ public static string GetCompleteSchema()
+ {
+ return Properties.Resources.DatabaseStructure;
+ }
}
}
\ No newline at end of file