@@ -1197,7 +1197,7 @@ pub mod tests {
11971197 ( sender, handle, prefix, escrow_accounts_tx)
11981198 }
11991199
1200- #[ sqlx:: test( migrations = "../migrations" ) ]
1200+ #[ sqlx:: test( migrations = "../../ migrations" ) ]
12011201 async fn test_update_allocation_ids ( pgpool : PgPool ) {
12021202 // Start a mock graphql server using wiremock
12031203 let mock_server = MockServer :: start ( ) . await ;
@@ -1293,7 +1293,7 @@ pub mod tests {
12931293 handle. await . unwrap ( ) ;
12941294 }
12951295
1296- #[ sqlx:: test( migrations = "../migrations" ) ]
1296+ #[ sqlx:: test( migrations = "../../ migrations" ) ]
12971297 async fn test_new_allocation_id ( pgpool : PgPool ) {
12981298 // Start a mock graphql server using wiremock
12991299 let mock_server = MockServer :: start ( ) . await ;
@@ -1560,7 +1560,7 @@ pub mod tests {
15601560 . as_nanos ( ) as u64
15611561 }
15621562
1563- #[ sqlx:: test( migrations = "../migrations" ) ]
1563+ #[ sqlx:: test( migrations = "../../ migrations" ) ]
15641564 async fn test_update_receipt_fees_no_rav ( pgpool : PgPool ) {
15651565 let ( sender_account, handle, prefix, _) = create_sender_account (
15661566 pgpool,
@@ -1604,7 +1604,7 @@ pub mod tests {
16041604 handle. await . unwrap ( ) ;
16051605 }
16061606
1607- #[ sqlx:: test( migrations = "../migrations" ) ]
1607+ #[ sqlx:: test( migrations = "../../ migrations" ) ]
16081608 async fn test_update_receipt_fees_trigger_rav ( pgpool : PgPool ) {
16091609 let ( sender_account, handle, prefix, _) = create_sender_account (
16101610 pgpool,
@@ -1665,7 +1665,7 @@ pub mod tests {
16651665 handle. await . unwrap ( ) ;
16661666 }
16671667
1668- #[ sqlx:: test( migrations = "../migrations" ) ]
1668+ #[ sqlx:: test( migrations = "../../ migrations" ) ]
16691669 async fn test_counter_greater_limit_trigger_rav ( pgpool : PgPool ) {
16701670 let ( sender_account, handle, prefix, _) = create_sender_account (
16711671 pgpool,
@@ -1732,7 +1732,7 @@ pub mod tests {
17321732 handle. await . unwrap ( ) ;
17331733 }
17341734
1735- #[ sqlx:: test( migrations = "../migrations" ) ]
1735+ #[ sqlx:: test( migrations = "../../ migrations" ) ]
17361736 async fn test_remove_sender_account ( pgpool : PgPool ) {
17371737 let ( mock_escrow_subgraph_server, _mock_ecrow_subgraph) = mock_escrow_subgraph ( ) . await ;
17381738 let ( sender_account, handle, prefix, _) = create_sender_account (
@@ -1769,7 +1769,7 @@ pub mod tests {
17691769 }
17701770
17711771 /// Test that the deny status is correctly loaded from the DB at the start of the actor
1772- #[ sqlx:: test( migrations = "../migrations" ) ]
1772+ #[ sqlx:: test( migrations = "../../ migrations" ) ]
17731773 async fn test_init_deny ( pgpool : PgPool ) {
17741774 sqlx:: query!(
17751775 r#"
@@ -1803,7 +1803,7 @@ pub mod tests {
18031803 assert ! ( deny) ;
18041804 }
18051805
1806- #[ sqlx:: test( migrations = "../migrations" ) ]
1806+ #[ sqlx:: test( migrations = "../../ migrations" ) ]
18071807 async fn test_retry_unaggregated_fees ( pgpool : PgPool ) {
18081808 // we set to zero to block the sender, no matter the fee
18091809 let max_unaggregated_fees_per_sender: u128 = 0 ;
@@ -1856,7 +1856,7 @@ pub mod tests {
18561856 handle. await . unwrap ( ) ;
18571857 }
18581858
1859- #[ sqlx:: test( migrations = "../migrations" ) ]
1859+ #[ sqlx:: test( migrations = "../../ migrations" ) ]
18601860 async fn test_deny_allow ( pgpool : PgPool ) {
18611861 async fn get_deny_status ( sender_account : & ActorRef < SenderAccountMessage > ) -> bool {
18621862 call ! ( sender_account, SenderAccountMessage :: GetDeny ) . unwrap ( )
@@ -1956,7 +1956,7 @@ pub mod tests {
19561956 handle. await . unwrap ( ) ;
19571957 }
19581958
1959- #[ sqlx:: test( migrations = "../migrations" ) ]
1959+ #[ sqlx:: test( migrations = "../../ migrations" ) ]
19601960 async fn test_initialization_with_pending_ravs_over_the_limit ( pgpool : PgPool ) {
19611961 // add last non-final ravs
19621962 let signed_rav = create_rav ( * ALLOCATION_ID_0 , SIGNER . 0 . clone ( ) , 4 , ESCROW_VALUE ) ;
@@ -1982,7 +1982,7 @@ pub mod tests {
19821982 handle. await . unwrap ( ) ;
19831983 }
19841984
1985- #[ sqlx:: test( migrations = "../migrations" ) ]
1985+ #[ sqlx:: test( migrations = "../../ migrations" ) ]
19861986 async fn test_unaggregated_fees_over_balance ( pgpool : PgPool ) {
19871987 // add last non-final ravs
19881988 let signed_rav = create_rav ( * ALLOCATION_ID_0 , SIGNER . 0 . clone ( ) , 4 , ESCROW_VALUE / 2 ) ;
@@ -2078,7 +2078,7 @@ pub mod tests {
20782078 handle. await . unwrap ( ) ;
20792079 }
20802080
2081- #[ sqlx:: test( migrations = "../migrations" ) ]
2081+ #[ sqlx:: test( migrations = "../../ migrations" ) ]
20822082 async fn test_pending_rav_already_redeemed_and_redeem ( pgpool : PgPool ) {
20832083 // Start a mock graphql server using wiremock
20842084 let mock_server = MockServer :: start ( ) . await ;
@@ -2156,7 +2156,7 @@ pub mod tests {
21562156 handle. await . unwrap ( ) ;
21572157 }
21582158
2159- #[ sqlx:: test( migrations = "../migrations" ) ]
2159+ #[ sqlx:: test( migrations = "../../ migrations" ) ]
21602160 async fn test_thawing_deposit_process ( pgpool : PgPool ) {
21612161 // add last non-final ravs
21622162 let signed_rav = create_rav ( * ALLOCATION_ID_0 , SIGNER . 0 . clone ( ) , 4 , ESCROW_VALUE / 2 ) ;
@@ -2208,7 +2208,7 @@ pub mod tests {
22082208 handle. await . unwrap ( ) ;
22092209 }
22102210
2211- #[ sqlx:: test( migrations = "../migrations" ) ]
2211+ #[ sqlx:: test( migrations = "../../ migrations" ) ]
22122212 async fn test_sender_denied_close_allocation_stop_retry ( pgpool : PgPool ) {
22132213 // we set to 1 to block the sender on a really low value
22142214 let max_unaggregated_fees_per_sender: u128 = 1 ;
0 commit comments