Skip to content

Commit

Permalink
Small tweak to change_column_type_sql unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
mysticmind committed Oct 9, 2024
1 parent 13880d6 commit 7b602b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Weasel.SqlServer.Tests/Tables/TableColumnTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ public void change_column_type_sql()

var updatedColumn = new TableColumn(columnName, "varchar(200)") { AllowNulls = true };

table.ColumnFor("order")!.AlterColumnTypeSql(table, updatedColumn)
table.ColumnFor(columnName)!.AlterColumnTypeSql(table, updatedColumn)
.ShouldBe($"alter table dbo.people alter column [{columnName}] varchar(200) NULL;");
}
}

0 comments on commit 7b602b6

Please sign in to comment.