Commit graph

14 commits

Author SHA1 Message Date
Maybe Waffle
8ae3222409 Disable redis tests outside of CI
...to not annoy people like me who don't have redis open while testing
2022-03-27 22:10:50 +04:00
Temirkhan Myrzamadi
27eda5759c RowNotFound -> DialogueNotFound 2021-05-08 19:00:38 +06:00
Temirkhan Myrzamadi
03837c66f2 Revert the previous ports in tests/redis.rs 2021-05-08 17:44:22 +06:00
Temirkhan Myrzamadi
08bf40e555 Fail Storage::remove_dialogue if a dialogue doesn't exist 2021-05-08 17:21:24 +06:00
Temirkhan Myrzamadi
9b75378572 Fix the tests and examples 2021-03-28 08:20:35 +06:00
Hirrolot
8522759e68
Get ready for v0.4.0 (#347)
* Get ready for v0.4.0

* Export teloxide_macros as macros in lib.rs

* Use tokio v1.3 in README.md

* Return the feature 'macros' back

* Export teloxide_macros::teloxide in the prelude

* Document the 'macros' feature in README.md

* Update src/lib.rs

Co-authored-by: Waffle Lapkin <waffle.lapkin@gmail.com>

* Update src/prelude.rs

Co-authored-by: Waffle Lapkin <waffle.lapkin@gmail.com>

* Propagate features from teloxide-core

* teloxide-core = 0.2.1

* Fix CI

* Require teloxide-core/auto_send instead of teloxide/auto-send

* default-features = false (teloxide-core)

* Specify each teloxide-core feature separately

* Fix Cargo.toml

* JSON -> Json, CBOR -> Cbor

* Update Cargo.toml

Co-authored-by: Waffle Lapkin <waffle.lapkin@gmail.com>

Co-authored-by: Waffle Lapkin <waffle.lapkin@gmail.com>
2021-03-21 18:34:23 +06:00
Waffle
981ba237c9 redis test fix & beta/nightly ci
This commit fixes redis storage test, those were not ran before.
Also, introduces beta&nightly tests to CI
2020-08-12 23:53:58 +03:00
Temirkhan Myrzamadi
0ce9c7a5b0 Compile tests/redis.rs only if all the features are satisfied 2020-07-31 20:18:00 +06:00
Temirkhan Myrzamadi
38a1f470ad Use the default characters per line limit 2020-07-26 23:47:02 +06:00
Temirkhan Myrzamadi
56dadfbb34 Return Arc<RedisServer> 2020-07-04 21:02:07 +06:00
Temirkhan Myrzamadi
9eee923aad Open separate connections to redis during testing 2020-07-04 20:54:47 +06:00
Temirkhan Myrzamadi
d66ede5ecf Fix tests/redis.rs 2020-07-01 22:31:30 +06:00
Temirkhan Myrzamadi
a7846bb165 Connect RedisStorage to 7777 2020-07-01 21:32:30 +06:00
Temirkhan Myrzamadi
7fd32c8774 Add integrational tests for RedisStorage 2020-07-01 20:41:00 +06:00