Skip to content

Commit

Permalink
Fix MigrationsSqliteTest tests (#26572)
Browse files Browse the repository at this point in the history
Correct tests to call correct base class method

Fixes #26571
  • Loading branch information
bobbyangers authored Nov 8, 2021
1 parent c8e656a commit c5aa799
Showing 1 changed file with 6 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
using System;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Data.Sqlite;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Scaffolding;
using Microsoft.EntityFrameworkCore.Sqlite.Internal;
Expand Down Expand Up @@ -924,22 +923,22 @@ public override Task Create_sequence()
=> AssertNotSupportedAsync(base.Create_sequence, SqliteStrings.SequencesNotSupported);

public override Task Create_sequence_all_settings()
=> AssertNotSupportedAsync(base.Create_sequence, SqliteStrings.SequencesNotSupported);
=> AssertNotSupportedAsync(base.Create_sequence_all_settings, SqliteStrings.SequencesNotSupported);

public override Task Alter_sequence_all_settings()
=> AssertNotSupportedAsync(base.Create_sequence, SqliteStrings.SequencesNotSupported);
=> AssertNotSupportedAsync(base.Alter_sequence_all_settings, SqliteStrings.SequencesNotSupported);

public override Task Alter_sequence_increment_by()
=> AssertNotSupportedAsync(base.Create_sequence, SqliteStrings.SequencesNotSupported);
=> AssertNotSupportedAsync(base.Alter_sequence_increment_by, SqliteStrings.SequencesNotSupported);

public override Task Drop_sequence()
=> AssertNotSupportedAsync(base.Create_sequence, SqliteStrings.SequencesNotSupported);
=> AssertNotSupportedAsync(base.Drop_sequence, SqliteStrings.SequencesNotSupported);

public override Task Rename_sequence()
=> AssertNotSupportedAsync(base.Create_sequence, SqliteStrings.SequencesNotSupported);
=> AssertNotSupportedAsync(base.Rename_sequence, SqliteStrings.SequencesNotSupported);

public override Task Move_sequence()
=> AssertNotSupportedAsync(base.Create_sequence, SqliteStrings.SequencesNotSupported);
=> AssertNotSupportedAsync(base.Move_sequence, SqliteStrings.SequencesNotSupported);

// SQLite does not support schemas
protected override bool AssertSchemaNames
Expand Down

0 comments on commit c5aa799

Please sign in to comment.