Skip to content

Commit

Permalink
Use NormalizeDelimitersInRawString in Ad_hoc_query_for_shared_type_en…
Browse files Browse the repository at this point in the history
…tity_type_works (#30378)

Co-authored-by: Maurycy Markowski <[email protected]>
  • Loading branch information
ajcvickers and maumar authored Mar 1, 2023
1 parent f0315cf commit c4f0826
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ public virtual void Ad_hoc_query_for_shared_type_entity_type_works()

using var context = contextFactory.CreateContext();

var result = context.Database.SqlQueryRaw<ViewQuery24601>(@"SELECT * FROM ViewQuery24601");
var result = context.Database.SqlQueryRaw<ViewQuery24601>(
((RelationalTestStore)TestStore).NormalizeDelimitersInRawString(@"SELECT * FROM [ViewQuery24601]"));

Assert.Empty(result);
}
Expand Down

0 comments on commit c4f0826

Please sign in to comment.