Fix tests. #125
Annotations
16 errors
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.MySqlMigrationsSqlGeneratorTest.DefaultValue_with_line_breaks_2(isUnicode: True):
test/EFCore.MySql.FunctionalTests/MySqlMigrationsSqlGeneratorTest.cs#L1590
Assert.Equal() Failure
↓ (pos 72)
Expected: ···e` longtext NOT NULL DEFAULT (CONCAT('0', CHAR(13, 10), '1', ···
Actual: ···e` longtext NOT NULL\n);\n
↑ (pos 72)
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.MySqlMigrationsSqlGeneratorTest.DefaultValue_with_line_breaks_2(isUnicode: False):
test/EFCore.MySql.FunctionalTests/MySqlMigrationsSqlGeneratorTest.cs#L1590
Assert.Equal() Failure
↓ (pos 72)
Expected: ···e` longtext NOT NULL DEFAULT (CONCAT('0', CHAR(13, 10), '1', ···
Actual: ···e` longtext NOT NULL\n);\n
↑ (pos 72)
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.FromSqlQueryMySqlTest.Multiple_occurrences_of_FromSql_with_db_parameter_adds_parameter_only_once(async: True)
System.InvalidOperationException : The LINQ expression '(Projection Mapping:
EmptyProjectionMember -> EntityProjectionExpression: Customer
SELECT m.CustomerID, m.Address, m.City, m.CompanyName, m.ContactName, m.ContactTitle, m.Country, m.Fax, m.Phone, m.PostalCode, m.Region
FROM SELECT * FROM `Customers` WHERE `City` = {0}
INTERSECTProjection Mapping:
EmptyProjectionMember -> EntityProjectionExpression: Customer
SELECT m0.CustomerID, m0.Address, m0.City, m0.CompanyName, m0.ContactName, m0.ContactTitle, m0.Country, m0.Fax, m0.Phone, m0.PostalCode, m0.Region
FROM SELECT * FROM `Customers` WHERE `City` = {0}
) AS t
' could not be translated. Either rewrite the query in a form that can be translated, or switch to client evaluation explicitly by inserting a call to 'AsEnumerable', 'AsAsyncEnumerable', 'ToList', or 'ToListAsync'. See https://go.microsoft.com/fwlink/?linkid=2101038 for more information.
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.FromSqlQueryMySqlTest.Multiple_occurrences_of_FromSql_with_db_parameter_adds_parameter_only_once(async: False)
System.InvalidOperationException : The LINQ expression '(Projection Mapping:
EmptyProjectionMember -> EntityProjectionExpression: Customer
SELECT m.CustomerID, m.Address, m.City, m.CompanyName, m.ContactName, m.ContactTitle, m.Country, m.Fax, m.Phone, m.PostalCode, m.Region
FROM SELECT * FROM `Customers` WHERE `City` = {0}
INTERSECTProjection Mapping:
EmptyProjectionMember -> EntityProjectionExpression: Customer
SELECT m0.CustomerID, m0.Address, m0.City, m0.CompanyName, m0.ContactName, m0.ContactTitle, m0.Country, m0.Fax, m0.Phone, m0.PostalCode, m0.Region
FROM SELECT * FROM `Customers` WHERE `City` = {0}
) AS t
' could not be translated. Either rewrite the query in a form that can be translated, or switch to client evaluation explicitly by inserting a call to 'AsEnumerable', 'AsAsyncEnumerable', 'ToList', or 'ToListAsync'. See https://go.microsoft.com/fwlink/?linkid=2101038 for more information.
|
BuildAndTest (5.7.44-mysql, ubuntu-latest)
Process completed with exit code 1.
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.FromSqlQueryMySqlTest.Multiple_occurrences_of_FromSql_with_db_parameter_adds_parameter_only_once(async: True)
System.InvalidOperationException : The LINQ expression '(Projection Mapping:
EmptyProjectionMember -> EntityProjectionExpression: Customer
SELECT m.CustomerID, m.Address, m.City, m.CompanyName, m.ContactName, m.ContactTitle, m.Country, m.Fax, m.Phone, m.PostalCode, m.Region
FROM SELECT * FROM `Customers` WHERE `City` = {0}
INTERSECTProjection Mapping:
EmptyProjectionMember -> EntityProjectionExpression: Customer
SELECT m0.CustomerID, m0.Address, m0.City, m0.CompanyName, m0.ContactName, m0.ContactTitle, m0.Country, m0.Fax, m0.Phone, m0.PostalCode, m0.Region
FROM SELECT * FROM `Customers` WHERE `City` = {0}
) AS t
' could not be translated. Either rewrite the query in a form that can be translated, or switch to client evaluation explicitly by inserting a call to 'AsEnumerable', 'AsAsyncEnumerable', 'ToList', or 'ToListAsync'. See https://go.microsoft.com/fwlink/?linkid=2101038 for more information.
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.FromSqlQueryMySqlTest.Multiple_occurrences_of_FromSql_with_db_parameter_adds_parameter_only_once(async: False)
System.InvalidOperationException : The LINQ expression '(Projection Mapping:
EmptyProjectionMember -> EntityProjectionExpression: Customer
SELECT m.CustomerID, m.Address, m.City, m.CompanyName, m.ContactName, m.ContactTitle, m.Country, m.Fax, m.Phone, m.PostalCode, m.Region
FROM SELECT * FROM `Customers` WHERE `City` = {0}
INTERSECTProjection Mapping:
EmptyProjectionMember -> EntityProjectionExpression: Customer
SELECT m0.CustomerID, m0.Address, m0.City, m0.CompanyName, m0.ContactName, m0.ContactTitle, m0.Country, m0.Fax, m0.Phone, m0.PostalCode, m0.Region
FROM SELECT * FROM `Customers` WHERE `City` = {0}
) AS t
' could not be translated. Either rewrite the query in a form that can be translated, or switch to client evaluation explicitly by inserting a call to 'AsEnumerable', 'AsAsyncEnumerable', 'ToList', or 'ToListAsync'. See https://go.microsoft.com/fwlink/?linkid=2101038 for more information.
|
BuildAndTest (8.0.36-mysql, ubuntu-latest)
Process completed with exit code 1.
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.FromSqlQueryMySqlTest.Multiple_occurrences_of_FromSql_with_db_parameter_adds_parameter_only_once(async: True)
System.InvalidOperationException : The LINQ expression '(Projection Mapping:
EmptyProjectionMember -> EntityProjectionExpression: Customer
SELECT m.CustomerID, m.Address, m.City, m.CompanyName, m.ContactName, m.ContactTitle, m.Country, m.Fax, m.Phone, m.PostalCode, m.Region
FROM SELECT * FROM `Customers` WHERE `City` = {0}
INTERSECTProjection Mapping:
EmptyProjectionMember -> EntityProjectionExpression: Customer
SELECT m0.CustomerID, m0.Address, m0.City, m0.CompanyName, m0.ContactName, m0.ContactTitle, m0.Country, m0.Fax, m0.Phone, m0.PostalCode, m0.Region
FROM SELECT * FROM `Customers` WHERE `City` = {0}
) AS t
' could not be translated. Either rewrite the query in a form that can be translated, or switch to client evaluation explicitly by inserting a call to 'AsEnumerable', 'AsAsyncEnumerable', 'ToList', or 'ToListAsync'. See https://go.microsoft.com/fwlink/?linkid=2101038 for more information.
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.FromSqlQueryMySqlTest.Multiple_occurrences_of_FromSql_with_db_parameter_adds_parameter_only_once(async: False)
System.InvalidOperationException : The LINQ expression '(Projection Mapping:
EmptyProjectionMember -> EntityProjectionExpression: Customer
SELECT m.CustomerID, m.Address, m.City, m.CompanyName, m.ContactName, m.ContactTitle, m.Country, m.Fax, m.Phone, m.PostalCode, m.Region
FROM SELECT * FROM `Customers` WHERE `City` = {0}
INTERSECTProjection Mapping:
EmptyProjectionMember -> EntityProjectionExpression: Customer
SELECT m0.CustomerID, m0.Address, m0.City, m0.CompanyName, m0.ContactName, m0.ContactTitle, m0.Country, m0.Fax, m0.Phone, m0.PostalCode, m0.Region
FROM SELECT * FROM `Customers` WHERE `City` = {0}
) AS t
' could not be translated. Either rewrite the query in a form that can be translated, or switch to client evaluation explicitly by inserting a call to 'AsEnumerable', 'AsAsyncEnumerable', 'ToList', or 'ToListAsync'. See https://go.microsoft.com/fwlink/?linkid=2101038 for more information.
|
BuildAndTest (8.0.36-mysql, windows-latest)
Process completed with exit code 1.
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.MySqlMigrationsSqlGeneratorTest.DefaultValue_with_line_breaks_2(isUnicode: True):
test/EFCore.MySql.FunctionalTests/MySqlMigrationsSqlGeneratorTest.cs#L1590
Assert.Equal() Failure
↓ (pos 73)
Expected: ···e` longtext NOT NULL DEFAULT (CONCAT('0', CHAR(13, 10), '1', ···
Actual: ···e` longtext NOT NULL\r\n);\r\n
↑ (pos 73)
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.MySqlMigrationsSqlGeneratorTest.DefaultValue_with_line_breaks_2(isUnicode: False):
test/EFCore.MySql.FunctionalTests/MySqlMigrationsSqlGeneratorTest.cs#L1590
Assert.Equal() Failure
↓ (pos 73)
Expected: ···e` longtext NOT NULL DEFAULT (CONCAT('0', CHAR(13, 10), '1', ···
Actual: ···e` longtext NOT NULL\r\n);\r\n
↑ (pos 73)
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.FromSqlQueryMySqlTest.Multiple_occurrences_of_FromSql_with_db_parameter_adds_parameter_only_once(async: True)
System.InvalidOperationException : The LINQ expression '(Projection Mapping:
EmptyProjectionMember -> EntityProjectionExpression: Customer
SELECT m.CustomerID, m.Address, m.City, m.CompanyName, m.ContactName, m.ContactTitle, m.Country, m.Fax, m.Phone, m.PostalCode, m.Region
FROM SELECT * FROM `Customers` WHERE `City` = {0}
INTERSECTProjection Mapping:
EmptyProjectionMember -> EntityProjectionExpression: Customer
SELECT m0.CustomerID, m0.Address, m0.City, m0.CompanyName, m0.ContactName, m0.ContactTitle, m0.Country, m0.Fax, m0.Phone, m0.PostalCode, m0.Region
FROM SELECT * FROM `Customers` WHERE `City` = {0}
) AS t
' could not be translated. Either rewrite the query in a form that can be translated, or switch to client evaluation explicitly by inserting a call to 'AsEnumerable', 'AsAsyncEnumerable', 'ToList', or 'ToListAsync'. See https://go.microsoft.com/fwlink/?linkid=2101038 for more information.
|
Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.FromSqlQueryMySqlTest.Multiple_occurrences_of_FromSql_with_db_parameter_adds_parameter_only_once(async: False)
System.InvalidOperationException : The LINQ expression '(Projection Mapping:
EmptyProjectionMember -> EntityProjectionExpression: Customer
SELECT m.CustomerID, m.Address, m.City, m.CompanyName, m.ContactName, m.ContactTitle, m.Country, m.Fax, m.Phone, m.PostalCode, m.Region
FROM SELECT * FROM `Customers` WHERE `City` = {0}
INTERSECTProjection Mapping:
EmptyProjectionMember -> EntityProjectionExpression: Customer
SELECT m0.CustomerID, m0.Address, m0.City, m0.CompanyName, m0.ContactName, m0.ContactTitle, m0.Country, m0.Fax, m0.Phone, m0.PostalCode, m0.Region
FROM SELECT * FROM `Customers` WHERE `City` = {0}
) AS t
' could not be translated. Either rewrite the query in a form that can be translated, or switch to client evaluation explicitly by inserting a call to 'AsEnumerable', 'AsAsyncEnumerable', 'ToList', or 'ToListAsync'. See https://go.microsoft.com/fwlink/?linkid=2101038 for more information.
|
BuildAndTest (5.7.44-mysql, windows-latest)
Process completed with exit code 1.
|