Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
kurotych committed Nov 12, 2024
1 parent 1cded42 commit 6691728
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions mobile_config/tests/gateway_service.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
use chrono::Utc;
use futures::stream::StreamExt;

use helium_crypto::{KeyTag, Keypair, PublicKey, PublicKeyBinary, Sign};
Expand Down Expand Up @@ -200,14 +201,15 @@ async fn add_mobile_hotspot_infos(pool: &PgPool, asset: &str, location: i64, dev
sqlx::query(
r#"
INSERT INTO
"mobile_hotspot_infos" ("asset", "location", "device_type")
"mobile_hotspot_infos" ("asset", "location", "device_type", "refreshed_at")
VALUES
($1, $2, $3::jsonb);
($1, $2, $3::jsonb, $4);
"#,
)
.bind(asset)
.bind(location)
.bind(device_type)
.bind(Utc::now())
.execute(pool)
.await
.unwrap();
Expand Down

0 comments on commit 6691728

Please sign in to comment.