Skip to content

Commit

Permalink
typo fix - description sql parameter
Browse files Browse the repository at this point in the history
shouldn't affect anything

Original patch by Svein Helge <[email protected]> #mailto:[email protected] PR #33
  • Loading branch information
timabell committed Aug 18, 2015
1 parent 16bda90 commit d1927f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions EfEnumToLookupTests/Tests/TestStuff.cs
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@ public void UsesDescriptionAttribute()
{
using (var context = new MagicContext())
{
const string sql = "select @desciption = name from Enum_Importance where id = @id";
const string sql = "select @description = name from Enum_Importance where id = @id";
var idParam = new SqlParameter("id", (int)Importance.NotBovverd);
var outParam = new SqlParameter("desciption", SqlDbType.NVarChar, 255) { Direction = ParameterDirection.Output };
var outParam = new SqlParameter("description", SqlDbType.NVarChar, 255) { Direction = ParameterDirection.Output };
context.Database.ExecuteSqlCommand(sql, idParam, outParam);
var actualName = outParam.Value;
Assert.AreEqual(Constants.BovveredDisplay, actualName);
Expand Down

0 comments on commit d1927f1

Please sign in to comment.