Skip to content

Commit f53f4af

Browse files
Fix unit tests previously failed.
1 parent f1eec4f commit f53f4af

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Testing.Databases.SqlServer.SqlCmd/SqlCmdSqlServerDatabaseExtensions.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ public static class SqlCmdSqlServerDatabaseExtensions
2626
/// to retrieve the output result of the script execution.</exception>
2727
public static void RunScript(this SqlServerDatabase database, string fileName, SqlCmdRunScriptSettings? settings = null)
2828
{
29-
ArgumentNullException.ThrowIfNull(database, nameof(database));
30-
ArgumentNullException.ThrowIfNull(fileName, nameof(fileName));
29+
Guard.ThrowIfNull(database, nameof(database));
30+
Guard.ThrowIfNull(fileName, nameof(fileName));
3131

3232
if (!File.Exists(fileName))
3333
{

0 commit comments

Comments
 (0)