diff --git a/src/test/app/Escrow_test.cpp b/src/test/app/Escrow_test.cpp index 1e4773230..47dded287 100644 --- a/src/test/app/Escrow_test.cpp +++ b/src/test/app/Escrow_test.cpp @@ -1933,8 +1933,7 @@ struct Escrow_test : public beast::unit_test::suite env.close(); env(fset(george, asfDisallowXRP)); env(escrow(bob, george, USD(10)), - finish_time(env.now() + 1s), - ter(tecNO_TARGET)); + finish_time(env.now() + 1s)); } { // Ignore the "asfDisallowXRP" account flag, which we should diff --git a/src/test/app/PayChan_test.cpp b/src/test/app/PayChan_test.cpp index 38fd8eeb8..d4f47495d 100644 --- a/src/test/app/PayChan_test.cpp +++ b/src/test/app/PayChan_test.cpp @@ -2728,7 +2728,7 @@ struct PayChan_test : public beast::unit_test::suite auto const gw = Account{"gateway"}; auto const USD = gw["USD"]; { - // Create a channel where dst disallows XRP + // Ignore the flag since it this is Issued Currency Env env(*this, supported_amendments() - featureDepositAuth); env.fund(XRP(10000), alice, bob, gw); env.close(); @@ -2739,13 +2739,11 @@ struct PayChan_test : public beast::unit_test::suite env.close(); env(fset(bob, asfDisallowXRP)); auto const chan = channel(alice, bob, env.seq(alice)); - env(create(alice, bob, USD(1000), 3600s, alice.pk()), - ter(tecNO_TARGET)); - BEAST_EXPECT(!channelExists(*env.current(), chan)); + env(create(alice, bob, USD(1000), 3600s, alice.pk())); + BEAST_EXPECT(channelExists(*env.current(), chan)); } { - // Create a channel where dst disallows XRP. Ignore that flag, - // since it's just advisory. + // Ignore the flag since it this is Issued Currency Env env(*this, features); env.fund(XRP(10000), alice, bob, gw); env.close(); @@ -2761,8 +2759,7 @@ struct PayChan_test : public beast::unit_test::suite } { - // Claim to a channel where dst disallows XRP - // (channel is created before disallow xrp is set) + // Ignore the flag since it this is Issued Currency Env env(*this, supported_amendments() - featureDepositAuth); env.fund(XRP(10000), alice, bob, gw); env.close(); @@ -2777,12 +2774,10 @@ struct PayChan_test : public beast::unit_test::suite env(fset(bob, asfDisallowXRP)); auto const reqBal = USD(500).value(); - env(claim(alice, chan, reqBal, reqBal), ter(tecNO_TARGET)); + env(claim(alice, chan, reqBal, reqBal)); } { - // Claim to a channel where dst disallows XRP (channel is - // created before disallow xrp is set). Ignore that flag - // since it is just advisory. + // Ignore the flag since it this is Issued Currency Env env(*this, features); env.fund(XRP(10000), alice, bob, gw); env.close();