Skip to content

Commit

Permalink
fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
amandine-sahl committed Jun 26, 2023
1 parent 7a102e4 commit 57e539e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions backend/test/fixtures.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
"published": True,
"x": 765227.4922990737,
"y": 6365673.938623513,
"published_fr": True
"published_fr": True,
"published_en" : True
}
]

Expand All @@ -36,11 +37,11 @@ def events():
(
date_insert, date_update, deleted, structure_id,
geom,published,"name",capacity, begin_date, end_date,
published_fr
published_fr, published_en
)
VALUES (CURRENT_TIMESTAMP,CURRENT_TIMESTAMP, false, 1,
st_setsrid(st_point(:x, :y), 2154), :published, :name, :capacity,:begin_date , :end_date ,
:published_fr
:published_fr, :published_en
)
"""
),
Expand Down

0 comments on commit 57e539e

Please sign in to comment.