mirror of
https://github.com/teloxide/teloxide.git
synced 2025-03-14 11:44:04 +01:00
Revert the previous ports in tests/redis.rs
This commit is contained in:
parent
721feb0082
commit
03837c66f2
1 changed files with 3 additions and 3 deletions
|
@ -7,7 +7,7 @@ use teloxide::dispatching::dialogue::{RedisStorage, RedisStorageError, Serialize
|
|||
#[tokio::test]
|
||||
async fn test_redis_json() {
|
||||
let storage = RedisStorage::open(
|
||||
"redis://127.0.0.1:9000",
|
||||
"redis://127.0.0.1:7777",
|
||||
teloxide::dispatching::dialogue::serializer::Json,
|
||||
)
|
||||
.await
|
||||
|
@ -18,7 +18,7 @@ async fn test_redis_json() {
|
|||
#[tokio::test]
|
||||
async fn test_redis_bincode() {
|
||||
let storage = RedisStorage::open(
|
||||
"redis://127.0.0.1:9001",
|
||||
"redis://127.0.0.1:7778",
|
||||
teloxide::dispatching::dialogue::serializer::Bincode,
|
||||
)
|
||||
.await
|
||||
|
@ -29,7 +29,7 @@ async fn test_redis_bincode() {
|
|||
#[tokio::test]
|
||||
async fn test_redis_cbor() {
|
||||
let storage = RedisStorage::open(
|
||||
"redis://127.0.0.1:9002",
|
||||
"redis://127.0.0.1:7779",
|
||||
teloxide::dispatching::dialogue::serializer::Cbor,
|
||||
)
|
||||
.await
|
||||
|
|
Loading…
Add table
Reference in a new issue