mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-18 08:02:31 -05:00
fix tests
This commit is contained in:
@@ -28,6 +28,10 @@ def upgrade():
|
|||||||
conn.execute(text(
|
conn.execute(text(
|
||||||
"INSERT INTO provider_rates (id, valid_from, rate, provider_id) VALUES (:id, :time_now, 1.8, "
|
"INSERT INTO provider_rates (id, valid_from, rate, provider_id) VALUES (:id, :time_now, 1.8, "
|
||||||
"(SELECT id FROM provider_details WHERE identifier = 'mmg'))"), input_params)
|
"(SELECT id FROM provider_details WHERE identifier = 'mmg'))"), input_params)
|
||||||
|
input_params = {
|
||||||
|
"id": uuid.uuid4(),
|
||||||
|
"time_now": datetime.utcnow()
|
||||||
|
}
|
||||||
conn.execute(text(
|
conn.execute(text(
|
||||||
"INSERT INTO provider_rates (id, valid_from, rate, provider_id) VALUES (:id, :time_now, 2.5, "
|
"INSERT INTO provider_rates (id, valid_from, rate, provider_id) VALUES (:id, :time_now, 2.5, "
|
||||||
"(SELECT id FROM provider_details WHERE identifier = 'firetext'))"), input_params)
|
"(SELECT id FROM provider_details WHERE identifier = 'firetext'))"), input_params)
|
||||||
|
|||||||
Reference in New Issue
Block a user