fix: bot model test did not destruct tuple
This commit is contained in:
@@ -143,7 +143,7 @@ Now run tests for whichever database:
|
|||||||
|
|
||||||
```sh
|
```sh
|
||||||
TEST_DB=REFERENCE cargo nextest run
|
TEST_DB=REFERENCE cargo nextest run
|
||||||
TEST_DB=MONGOBD cargo nextest run
|
TEST_DB=MONGODB cargo nextest run
|
||||||
```
|
```
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|||||||
@@ -172,7 +172,7 @@ mod tests {
|
|||||||
.await
|
.await
|
||||||
.unwrap();
|
.unwrap();
|
||||||
|
|
||||||
let bot = Bot::create(
|
let (bot, _) = Bot::create(
|
||||||
&db,
|
&db,
|
||||||
"Bot Name".to_string(),
|
"Bot Name".to_string(),
|
||||||
&owner,
|
&owner,
|
||||||
|
|||||||
Reference in New Issue
Block a user