mirror of
https://github.com/launchbadge/sqlx
synced 2024-12-05 01:59:10 +00:00
Fix mistake in sqlx::test fixtures docs (#3604)
Alternative option for the sqlx::test fixtures referenced the same fixture twice
This commit is contained in:
parent
80314609ac
commit
8dfd3e0bc6
1 changed files with 1 additions and 1 deletions
|
@ -203,7 +203,7 @@ use sqlx::PgPool;
|
|||
use serde_json::json;
|
||||
|
||||
// Alternatives:
|
||||
// #[sqlx::test(fixtures("./fixtures/users.sql", "./fixtures/users.sql"))]
|
||||
// #[sqlx::test(fixtures("./fixtures/users.sql", "./fixtures/posts.sql"))]
|
||||
// or
|
||||
// #[sqlx::test(fixtures(path = "./fixtures", scripts("users", "posts")))]
|
||||
#[sqlx::test(fixtures("users", "posts"))]
|
||||
|
|
Loading…
Reference in a new issue