mirror of
https://github.com/internetee/registry.git
synced 2025-07-25 03:58:27 +02:00
Fix leaking test
This commit is contained in:
parent
1cca930744
commit
f6b1db2cce
12 changed files with 134 additions and 31 deletions
|
@ -1,7 +1,7 @@
|
|||
module Payments
|
||||
class BankLink < Base
|
||||
# TODO: Remove magic numbers, convert certain fields to proper constants
|
||||
# TODO: Remove hashrockets
|
||||
# DONE: Remove hashrockets
|
||||
def form_fields
|
||||
@fields ||= hash = {}
|
||||
hash["VK_SERVICE"] = "1012"
|
||||
|
@ -36,6 +36,8 @@ module Payments
|
|||
|
||||
private
|
||||
|
||||
SUCCESS_FIELDS =
|
||||
|
||||
def validate_success
|
||||
pars = %w(VK_SERVICE VK_VERSION VK_SND_ID VK_REC_ID VK_STAMP VK_T_NO VK_AMOUNT VK_CURR
|
||||
VK_REC_ACC VK_REC_NAME VK_SND_ACC VK_SND_NAME VK_REF VK_MSG VK_T_DATETIME).freeze
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue