Change the name of letter_class to postage, this will match the domain language used in the documentation.

Updated the tests to answer review comments.
This commit is contained in:
Rebecca Law
2018-09-18 15:22:08 +01:00
parent efb618e956
commit 1c0892888f
8 changed files with 74 additions and 94 deletions

View File

@@ -353,7 +353,7 @@ class Service(db.Model, Versioned):
crown = db.Column(db.Boolean, index=False, nullable=False, default=True)
rate_limit = db.Column(db.Integer, index=False, nullable=False, default=3000)
contact_link = db.Column(db.String(255), nullable=True, unique=False)
letter_class = db.Column(db.String(255), index=False, nullable=True)
postage = db.Column(db.String(255), index=False, nullable=True)
organisation = db.relationship(
'Organisation',