Skip to content

Commit

Permalink
[WIP] Fixing test for PSQL
Browse files Browse the repository at this point in the history
  • Loading branch information
PonteIneptique committed Jan 24, 2024
1 parent dbdc39b commit ce76da9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class User(UserMixin, db.Model):
first_name = db.Column(db.String(64), index=True)
last_name = db.Column(db.String(64), index=True)
email = db.Column(db.String(64), unique=True, index=True)
password_hash = db.Column(db.String(128))
password_hash = db.Column(db.String(162))
role_id = db.Column(db.Integer, db.ForeignKey('roles.id'))
locale = db.Column(db.String(10), default="en", nullable=True)

Expand Down
2 changes: 2 additions & 0 deletions tests/test_selenium/test_corpus_init.py
Original file line number Diff line number Diff line change
Expand Up @@ -431,6 +431,8 @@ def test_registration_with_an_existing_name(self):

self.driver_find_element_by_id("submit").click()

self.driver.implicitly_wait(5)

self.assertEqual(
sorted([e.text.strip() for e in self.driver_find_elements_by_css_selector(".alert.alert-danger")]),
sorted([
Expand Down

0 comments on commit ce76da9

Please sign in to comment.