Skip to content

Commit

Permalink
[tests] fixes test cases and adds constant in bank file
Browse files Browse the repository at this point in the history
  • Loading branch information
ambar93 committed Dec 8, 2020
1 parent 05ed9bf commit 17d524c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions scraper/scripts/methods_nach.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ def match_length_or_nil(data, expected_length)
end

def get_value(data)
if (data != nil && data.text.strip == 'Yes') ? true : false
end
(data != nil && data.text.strip == 'Yes') ? true : false
end

def bank_data(bank_code, data, _ifsc)
Expand Down
1 change: 1 addition & 0 deletions src/php/Bank.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ class Bank
const AJSX = 'AJSX';
const AJUX = 'AJUX';
const AKJB = 'AKJB';
const AKKB = 'AKKB';
const AKMX = 'AKMX';
const AKOX = 'AKOX';
const ALAX = 'ALAX';
Expand Down

0 comments on commit 17d524c

Please sign in to comment.