mirror of
https://github.com/stoatchat/stoatchat.git
synced 2026-07-14 05:26:59 +00:00
fix: bot model test did not destruct tuple
This commit is contained in:
@@ -143,7 +143,7 @@ Now run tests for whichever database:
|
||||
|
||||
```sh
|
||||
TEST_DB=REFERENCE cargo nextest run
|
||||
TEST_DB=MONGOBD cargo nextest run
|
||||
TEST_DB=MONGODB cargo nextest run
|
||||
```
|
||||
|
||||
## License
|
||||
|
||||
@@ -172,7 +172,7 @@ mod tests {
|
||||
.await
|
||||
.unwrap();
|
||||
|
||||
let bot = Bot::create(
|
||||
let (bot, _) = Bot::create(
|
||||
&db,
|
||||
"Bot Name".to_string(),
|
||||
&owner,
|
||||
|
||||
Reference in New Issue
Block a user