diff --git a/backend/src/Squidex.Data.EntityFramework/Providers/Postgres/JsonFunction.cs b/backend/src/Squidex.Data.EntityFramework/Providers/Postgres/JsonFunction.cs index 84b529465..c9abf958a 100644 --- a/backend/src/Squidex.Data.EntityFramework/Providers/Postgres/JsonFunction.cs +++ b/backend/src/Squidex.Data.EntityFramework/Providers/Postgres/JsonFunction.cs @@ -19,7 +19,7 @@ public static class JsonFunction private const int TypeBoolean = 3; private const int TypeNumber = 4; - private static readonly Dictionary<(int Type, CompareOperator Operator), string> Functions = new() + private static readonly Dictionary<(int Type, CompareOperator Operator), string> Functions = new () { [(TypeAny, CompareOperator.Empty)] = "jsonb_empty", [(TypeAny, CompareOperator.Exists)] = "jsonb_exists", diff --git a/backend/tests/Squidex.Data.Tests/EntityFramework/Infrastructure/Queries/EFQueryTests.cs b/backend/tests/Squidex.Data.Tests/EntityFramework/Infrastructure/Queries/EFQueryTests.cs index 5d6bb73fb..d879e5cae 100644 --- a/backend/tests/Squidex.Data.Tests/EntityFramework/Infrastructure/Queries/EFQueryTests.cs +++ b/backend/tests/Squidex.Data.Tests/EntityFramework/Infrastructure/Queries/EFQueryTests.cs @@ -1777,7 +1777,6 @@ public abstract class EFQueryTests(ISqlFixture fixture) .Where(query); var (sql, parameters) = queryBuilder.Compile(); - File.WriteAllText("D:\\last.json", sql); var dbResult = await dbContext.Set().FromSqlRaw(sql, parameters).ToListAsync(); return dbResult.Select(x => x.Number).Where(x => includeSpecialCase || x != 21).ToList();