Skip to content
Snippets Groups Projects
Unverified Commit c02d7610 authored by Cory Lee's avatar Cory Lee Committed by GitHub
Browse files

Reenabling test now that the renames on the schedules table are completed (#23388)

* Reenabling this since the renames on the schedules table are completed

* Reverting regex change that caused migration to be generated for userprofile
parent acce8bac
No related merge requests found
...@@ -503,7 +503,7 @@ class UserProfile(models.Model): ...@@ -503,7 +503,7 @@ class UserProfile(models.Model):
allow_certificate = models.BooleanField(default=1) allow_certificate = models.BooleanField(default=1)
bio = models.CharField(blank=True, null=True, max_length=3000, db_index=False) bio = models.CharField(blank=True, null=True, max_length=3000, db_index=False)
profile_image_uploaded_at = models.DateTimeField(null=True, blank=True) profile_image_uploaded_at = models.DateTimeField(null=True, blank=True)
phone_regex = RegexValidator(regex=r'^\+?\d*$', message="Phone number can only contain numbers.") phone_regex = RegexValidator(regex=r'^\+?1?\d*$', message="Phone number can only contain numbers.")
phone_number = models.CharField(validators=[phone_regex], blank=True, null=True, max_length=50) phone_number = models.CharField(validators=[phone_regex], blank=True, null=True, max_length=50)
@property @property
......
...@@ -196,9 +196,6 @@ class MigrationTests(TestCase): ...@@ -196,9 +196,6 @@ class MigrationTests(TestCase):
""" """
Tests for migrations. Tests for migrations.
""" """
@unittest.skip(
"Need to skip as part of renaming a field in schedules app. This will be unskipped in DE-1825."
)
@override_settings(MIGRATION_MODULES={}) @override_settings(MIGRATION_MODULES={})
def test_migrations_are_in_sync(self): def test_migrations_are_in_sync(self):
""" """
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment