Skip to content

Commit 81d931b

Browse files
Add VUB_BANK back to SwiftCode constants (#80)
* Add VUB_BANK back to SwiftCode constants "Všeobecná úverová banka" with key SUBASKBX is still in offical gopay documentation and works just fine https://doc.gopay.com/cs/#swift
1 parent d7605e3 commit 81d931b

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/Api/Lists/SwiftCode.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ class SwiftCode
2222
public const SLOVENSKA_SPORITELNA = 'GIBASKBX';
2323
public const TATRA_BANKA = 'TATRSKBX';
2424
public const UNICREDIT_BANK_SK = 'UNCRSKBX';
25+
public const VUB_BANK = 'SUBASKBX';
2526

2627
/**
2728
* @return string[]
@@ -58,6 +59,7 @@ public static function sk(): array
5859
self::SLOVENSKA_SPORITELNA,
5960
self::TATRA_BANKA,
6061
self::UNICREDIT_BANK_SK,
62+
self::VUB_BANK,
6163
];
6264
}
6365

tests/cases/unit/Api/Lists/SwiftCode.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ require __DIR__ . '/../../../../bootstrap.php';
1111

1212
// All
1313
test(function (): void {
14-
Assert::count(13, SwiftCode::all());
14+
Assert::count(14, SwiftCode::all());
1515
});
1616

1717
// CZ
@@ -21,5 +21,5 @@ test(function (): void {
2121

2222
// SK
2323
test(function (): void {
24-
Assert::count(4, SwiftCode::sk());
24+
Assert::count(5, SwiftCode::sk());
2525
});

0 commit comments

Comments
 (0)