CodeBench: promptit kokonaan englanniksi — poistettu suomenkieliset esimerkit
This commit is contained in:
@@ -34,7 +34,7 @@ tests/api_test.rs:
|
||||
Each test: SqlitePool::connect("sqlite::memory:"), init_db, app(pool)
|
||||
Spawn on random port: TcpListener::bind("127.0.0.1:0"), axum::serve
|
||||
reqwest::Client for HTTP calls
|
||||
Unique Finnish data ("Osta maitoa", "Haettava tehtävä"...)
|
||||
Unique descriptive data ("Buy milk", "Fetchable task"...)
|
||||
test_create → 201 + assert id exists
|
||||
test_list → post first, get, assert len >= 1
|
||||
test_get_by_id → post, get, assert id matches
|
||||
|
||||
Reference in New Issue
Block a user