mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-04-05 21:01:35 +08:00
Fix bug in data migration: don't call "Repo.Update"
It's not needed, and it actually doesn't work as expected. --HG-- branch : dev
This commit is contained in:
parent
6d33614179
commit
1f35d57933
@ -294,7 +294,7 @@ features:
|
||||
Assert.That(_repository.Table.First().Version, Is.EqualTo(666));
|
||||
}
|
||||
|
||||
[Test, Ignore("Fix pending")]
|
||||
[Test]
|
||||
public void SameMigrationClassCanEvolve() {
|
||||
Init(new[] { typeof(DataMigrationSameMigrationClassCanEvolve) });
|
||||
|
||||
|
@ -145,7 +145,6 @@ namespace Orchard.Data.Migration {
|
||||
}
|
||||
else {
|
||||
dataMigrationRecord.Version = current;
|
||||
_dataMigrationRepository.Update(dataMigrationRecord);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user