allan-simon / sentence-aligner-rust

rest service + frontend to align sentences , in rust
13 stars 1 forks source link

Integrate routines to truncate table and a simple test to check POST sentence #6

Closed jean553 closed 6 years ago

jean553 commented 6 years ago

The test simply checks that the POST sentence API returns 201 on success. The added tests/interfaces/db module is added to truncate the sentence database content before every POST test.