Skip to content

Commit 839127a

Browse files
authored
Fix failing Integration Test workflow (#883)
fix: Update the PermDelegation feature name in the rippled.cfg file; Use terNO_DELEGATE_PERMISSION error in the integ tests;
1 parent 020eb78 commit 839127a

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

.ci-config/rippled.cfg

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,6 @@ validators.txt
113113
# Devnet amendments as of June 28th, 2023
114114
NegativeUNL
115115
fixRemoveNFTokenAutoTrustLine
116-
NonFungibleTokensV1
117116
CheckCashMakesTrustLine
118117
fixRmSmallIncreasedQOffers
119118
fixSTAmountCanonicalize
@@ -202,7 +201,7 @@ PermissionedDomains
202201
SingleAssetVault
203202
fixFrozenLPTokenTransfer
204203
fixInvalidTxFlags
205-
PermissionDelegation
204+
PermissionDelegationV1_1
206205
PermissionedDEX
207206
Batch
208207
TokenEscrow

tests/integration/transactions/test_delegate_set.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ async def test_delegation_with_no_permission(self, client):
4343
self.assertEqual(response.status, ResponseStatus.SUCCESS)
4444

4545
# Sending a transaction without a delegate permission results in
46-
# tecNO_DELEGATE_PERMISSION
47-
self.assertEqual(response.result["engine_result"], "tecNO_DELEGATE_PERMISSION")
46+
# terNO_DELEGATE_PERMISSION
47+
self.assertEqual(response.result["engine_result"], "terNO_DELEGATE_PERMISSION")
4848

4949
@test_async_and_sync(globals())
5050
async def test_delegate_set_workflow(self, client):
@@ -100,7 +100,7 @@ async def test_delegate_set_workflow(self, client):
100100
account_set, bob, client, check_fee=False
101101
)
102102
self.assertEqual(response.status, ResponseStatus.SUCCESS)
103-
self.assertEqual(response.result["engine_result"], "tecNO_DELEGATE_PERMISSION")
103+
self.assertEqual(response.result["engine_result"], "terNO_DELEGATE_PERMISSION")
104104

105105
# test ledger entry
106106
ledger_entry_response = await client.request(

0 commit comments

Comments
 (0)