✨ Refactor testing framework to utilize Ginkgo for unit tests and introduce a new test-all target for running both unit and integration tests. Update README and Taskfile to reflect changes in test execution commands and clarify dependencies. Migrate domain models to a new model package for better separation of concerns.
This commit is contained in:
@@ -131,7 +131,7 @@ NNNN`)
|
||||
SELECT status FROM aviation.telegrams WHERE message_id = $1 LIMIT 1
|
||||
`, "TMQ2526").Scan(&status)
|
||||
if err == nil {
|
||||
if status == string(domain.MessageStatusParsed) {
|
||||
if status == string(model.MessageStatusParsed) {
|
||||
return
|
||||
}
|
||||
t.Logf("message persisted with status=%s, waiting for parsed", status)
|
||||
|
||||
Reference in New Issue
Block a user