From 39c3273f8fae9bb9aad2f29d4430138f963d9143 Mon Sep 17 00:00:00 2001 From: Paul Welter Date: Sat, 3 Feb 2024 22:38:20 -0600 Subject: [PATCH] fix tests --- .../DataReaderFactoryWriterTests.cs | 1 - .../Snapshots/DeleteBuilderTest.DeleteEntityJoin.verified.txt | 2 +- .../DeleteBuilderTest.DeleteEntityWithComment.verified.txt | 2 +- ...ctBuilderTest.SelectColumnsAliasWhereTagBuilder.verified.txt | 2 +- ...ectBuilderTest.SelectEntityAliasWhereTagBuilder.verified.txt | 2 +- .../SelectBuilderTest.SelectEntityJoinBuilder.verified.txt | 2 +- .../SelectBuilderTest.SelectEntityTemporalBuilder.verified.txt | 2 +- .../SelectBuilderTest.SelectEntityWhereIn.verified.txt | 2 +- .../SelectBuilderTest.SelectEntityWhereInDouble.verified.txt | 2 +- .../SelectBuilderTest.SelectEntityWhereInIf.verified.txt | 2 +- ...SelectBuilderTest.SelectEntityWhereLimitBuilder.verified.txt | 2 +- .../SelectBuilderTest.SelectEntityWhereTagBuilder.verified.txt | 2 +- 12 files changed, 11 insertions(+), 12 deletions(-) diff --git a/test/FluentCommand.Generators.Tests/DataReaderFactoryWriterTests.cs b/test/FluentCommand.Generators.Tests/DataReaderFactoryWriterTests.cs index 8ee8c776..06571ba5 100644 --- a/test/FluentCommand.Generators.Tests/DataReaderFactoryWriterTests.cs +++ b/test/FluentCommand.Generators.Tests/DataReaderFactoryWriterTests.cs @@ -4,7 +4,6 @@ namespace FluentCommand.Generators.Tests; -[UsesVerify] public class DataReaderFactoryWriterTests { [Fact] diff --git a/test/FluentCommand.Tests/Query/Snapshots/DeleteBuilderTest.DeleteEntityJoin.verified.txt b/test/FluentCommand.Tests/Query/Snapshots/DeleteBuilderTest.DeleteEntityJoin.verified.txt index fd883952..94b61b82 100644 --- a/test/FluentCommand.Tests/Query/Snapshots/DeleteBuilderTest.DeleteEntityJoin.verified.txt +++ b/test/FluentCommand.Tests/Query/Snapshots/DeleteBuilderTest.DeleteEntityJoin.verified.txt @@ -1,4 +1,4 @@ -/* Caller; DeleteEntityJoin() in DeleteBuilderTest.cs:line 58 */ +/* Caller; DeleteEntityJoin() in DeleteBuilderTest.cs:line 57 */ DELETE FROM [Task] OUTPUT [DELETED].[Id] FROM [Task] AS [t] diff --git a/test/FluentCommand.Tests/Query/Snapshots/DeleteBuilderTest.DeleteEntityWithComment.verified.txt b/test/FluentCommand.Tests/Query/Snapshots/DeleteBuilderTest.DeleteEntityWithComment.verified.txt index a30d9086..37c1c5eb 100644 --- a/test/FluentCommand.Tests/Query/Snapshots/DeleteBuilderTest.DeleteEntityWithComment.verified.txt +++ b/test/FluentCommand.Tests/Query/Snapshots/DeleteBuilderTest.DeleteEntityWithComment.verified.txt @@ -1,4 +1,4 @@ -/* Caller; DeleteEntityWithComment() in DeleteBuilderTest.cs:line 40 */ +/* Caller; DeleteEntityWithComment() in DeleteBuilderTest.cs:line 39 */ DELETE FROM [dbo].[Status] OUTPUT [DELETED].[Id] WHERE ([Id] = @p0000); diff --git a/test/FluentCommand.Tests/Query/Snapshots/SelectBuilderTest.SelectColumnsAliasWhereTagBuilder.verified.txt b/test/FluentCommand.Tests/Query/Snapshots/SelectBuilderTest.SelectColumnsAliasWhereTagBuilder.verified.txt index 26c1142a..1e9ca579 100644 --- a/test/FluentCommand.Tests/Query/Snapshots/SelectBuilderTest.SelectColumnsAliasWhereTagBuilder.verified.txt +++ b/test/FluentCommand.Tests/Query/Snapshots/SelectBuilderTest.SelectColumnsAliasWhereTagBuilder.verified.txt @@ -1,4 +1,4 @@ -/* Caller; SelectColumnsAliasWhereTagBuilder() in SelectBuilderTest.cs:line 123 */ +/* Caller; SelectColumnsAliasWhereTagBuilder() in SelectBuilderTest.cs:line 122 */ SELECT [EntityId] AS [Id], [Name] FROM [EntityAlias] WHERE ([EntityId] = @p0000) diff --git a/test/FluentCommand.Tests/Query/Snapshots/SelectBuilderTest.SelectEntityAliasWhereTagBuilder.verified.txt b/test/FluentCommand.Tests/Query/Snapshots/SelectBuilderTest.SelectEntityAliasWhereTagBuilder.verified.txt index e5cd160c..7c8c3e13 100644 --- a/test/FluentCommand.Tests/Query/Snapshots/SelectBuilderTest.SelectEntityAliasWhereTagBuilder.verified.txt +++ b/test/FluentCommand.Tests/Query/Snapshots/SelectBuilderTest.SelectEntityAliasWhereTagBuilder.verified.txt @@ -1,4 +1,4 @@ -/* Caller; SelectEntityAliasWhereTagBuilder() in SelectBuilderTest.cs:line 102 */ +/* Caller; SelectEntityAliasWhereTagBuilder() in SelectBuilderTest.cs:line 101 */ SELECT [EntityId] AS [Id], [Name] FROM [EntityAlias] WHERE ([EntityId] = @p0000) diff --git a/test/FluentCommand.Tests/Query/Snapshots/SelectBuilderTest.SelectEntityJoinBuilder.verified.txt b/test/FluentCommand.Tests/Query/Snapshots/SelectBuilderTest.SelectEntityJoinBuilder.verified.txt index f93a51b6..94d7afd7 100644 --- a/test/FluentCommand.Tests/Query/Snapshots/SelectBuilderTest.SelectEntityJoinBuilder.verified.txt +++ b/test/FluentCommand.Tests/Query/Snapshots/SelectBuilderTest.SelectEntityJoinBuilder.verified.txt @@ -1,4 +1,4 @@ -/* Caller; SelectEntityJoinBuilder() in SelectBuilderTest.cs:line 247 */ +/* Caller; SelectEntityJoinBuilder() in SelectBuilderTest.cs:line 246 */ SELECT [t].[Id], [t].[Description], [t].[DueDate], [u].[DisplayName], [u].[EmailAddress] AS [Email], [s].[Name] AS [Status] FROM [Task] AS [t] INNER JOIN [dbo].[Status] AS [s] ON [t].[StatusId] = [s].[Id] diff --git a/test/FluentCommand.Tests/Query/Snapshots/SelectBuilderTest.SelectEntityTemporalBuilder.verified.txt b/test/FluentCommand.Tests/Query/Snapshots/SelectBuilderTest.SelectEntityTemporalBuilder.verified.txt index 03afa72b..5f76ba38 100644 --- a/test/FluentCommand.Tests/Query/Snapshots/SelectBuilderTest.SelectEntityTemporalBuilder.verified.txt +++ b/test/FluentCommand.Tests/Query/Snapshots/SelectBuilderTest.SelectEntityTemporalBuilder.verified.txt @@ -1,4 +1,4 @@ -/* Caller; SelectEntityTemporalBuilder() in SelectBuilderTest.cs:line 143 */ +/* Caller; SelectEntityTemporalBuilder() in SelectBuilderTest.cs:line 142 */ SELECT [Id], [Name] FROM [dbo].[Status] FOR SYSTEM_TIME AS OF @p0000 WHERE ([Id] = @p0001) diff --git a/test/FluentCommand.Tests/Query/Snapshots/SelectBuilderTest.SelectEntityWhereIn.verified.txt b/test/FluentCommand.Tests/Query/Snapshots/SelectBuilderTest.SelectEntityWhereIn.verified.txt index 0a4c26a2..d8b7a183 100644 --- a/test/FluentCommand.Tests/Query/Snapshots/SelectBuilderTest.SelectEntityWhereIn.verified.txt +++ b/test/FluentCommand.Tests/Query/Snapshots/SelectBuilderTest.SelectEntityWhereIn.verified.txt @@ -1,4 +1,4 @@ -/* Caller; SelectEntityWhereIn() in SelectBuilderTest.cs:line 188 */ +/* Caller; SelectEntityWhereIn() in SelectBuilderTest.cs:line 187 */ SELECT [Id], [Name] FROM [dbo].[Status] WHERE ([Id] IN (@p0000,@p0001)) diff --git a/test/FluentCommand.Tests/Query/Snapshots/SelectBuilderTest.SelectEntityWhereInDouble.verified.txt b/test/FluentCommand.Tests/Query/Snapshots/SelectBuilderTest.SelectEntityWhereInDouble.verified.txt index 675ab7f8..cb022cac 100644 --- a/test/FluentCommand.Tests/Query/Snapshots/SelectBuilderTest.SelectEntityWhereInDouble.verified.txt +++ b/test/FluentCommand.Tests/Query/Snapshots/SelectBuilderTest.SelectEntityWhereInDouble.verified.txt @@ -1,4 +1,4 @@ -/* Caller; SelectEntityWhereInDouble() in SelectBuilderTest.cs:line 207 */ +/* Caller; SelectEntityWhereInDouble() in SelectBuilderTest.cs:line 206 */ SELECT [Id], [Name] FROM [dbo].[Status] WHERE ([Id] IN (@p0000,@p0001) AND [Name] IN (@p0002,@p0003)) diff --git a/test/FluentCommand.Tests/Query/Snapshots/SelectBuilderTest.SelectEntityWhereInIf.verified.txt b/test/FluentCommand.Tests/Query/Snapshots/SelectBuilderTest.SelectEntityWhereInIf.verified.txt index 7950bce7..cf341da1 100644 --- a/test/FluentCommand.Tests/Query/Snapshots/SelectBuilderTest.SelectEntityWhereInIf.verified.txt +++ b/test/FluentCommand.Tests/Query/Snapshots/SelectBuilderTest.SelectEntityWhereInIf.verified.txt @@ -1,4 +1,4 @@ -/* Caller; SelectEntityWhereInIf() in SelectBuilderTest.cs:line 227 */ +/* Caller; SelectEntityWhereInIf() in SelectBuilderTest.cs:line 226 */ SELECT [Id], [Name] FROM [dbo].[Status] WHERE ([Id] IN (@p0000,@p0001)) diff --git a/test/FluentCommand.Tests/Query/Snapshots/SelectBuilderTest.SelectEntityWhereLimitBuilder.verified.txt b/test/FluentCommand.Tests/Query/Snapshots/SelectBuilderTest.SelectEntityWhereLimitBuilder.verified.txt index 6784fbd3..52c9722e 100644 --- a/test/FluentCommand.Tests/Query/Snapshots/SelectBuilderTest.SelectEntityWhereLimitBuilder.verified.txt +++ b/test/FluentCommand.Tests/Query/Snapshots/SelectBuilderTest.SelectEntityWhereLimitBuilder.verified.txt @@ -1,4 +1,4 @@ -/* Caller; SelectEntityWhereLimitBuilder() in SelectBuilderTest.cs:line 78 */ +/* Caller; SelectEntityWhereLimitBuilder() in SelectBuilderTest.cs:line 77 */ SELECT [Id], [Name], [Description] FROM [dbo].[Status] WHERE ([IsActive] = @p0000) diff --git a/test/FluentCommand.Tests/Query/Snapshots/SelectBuilderTest.SelectEntityWhereTagBuilder.verified.txt b/test/FluentCommand.Tests/Query/Snapshots/SelectBuilderTest.SelectEntityWhereTagBuilder.verified.txt index acdd45f4..7ebb3b0b 100644 --- a/test/FluentCommand.Tests/Query/Snapshots/SelectBuilderTest.SelectEntityWhereTagBuilder.verified.txt +++ b/test/FluentCommand.Tests/Query/Snapshots/SelectBuilderTest.SelectEntityWhereTagBuilder.verified.txt @@ -1,4 +1,4 @@ -/* Select Entity Where Tag Builder Query; SelectEntityWhereTagBuilder() in SelectBuilderTest.cs:line 55 */ +/* Select Entity Where Tag Builder Query; SelectEntityWhereTagBuilder() in SelectBuilderTest.cs:line 54 */ SELECT [Id], [Name], [Description] FROM [dbo].[Status] WHERE ([IsActive] = @p0000)