diff --git a/src/Const.php b/src/Const.php index f006c2e..0dbe95c 100644 --- a/src/Const.php +++ b/src/Const.php @@ -529,7 +529,7 @@ "BD" => [ "code" => "BDT" ,"symbol" => "৳"], "BE" => [ "code" => "EUR" ,"symbol" => "€"], "BF" => [ "code" => "XOF" ,"symbol" => "CFA"], -"BG" => [ "code" => "BGN" ,"symbol" => "лв"], +"BG" => [ "code" => "EUR" ,"symbol" => "€"], "BH" => [ "code" => "BHD" ,"symbol" => ".د.ب"], "BI" => [ "code" => "BIF" ,"symbol" => "FBu"], "BJ" => [ "code" => "XOF" ,"symbol" => "CFA"], diff --git a/tests/IPinfoTest.php b/tests/IPinfoTest.php index 0cd271f..ef48b42 100644 --- a/tests/IPinfoTest.php +++ b/tests/IPinfoTest.php @@ -239,9 +239,9 @@ public function testNetworkDetails() $this->assertEquals($res->type, 'inactive'); $this->assertEquals($res->prefixes, []); $this->assertEquals($res->prefixes6, []); - $this->assertEquals($res->peers, null); - $this->assertEquals($res->upstreams, null); - $this->assertEquals($res->downstreams, null); + $this->assertEquals($res->peers, []); + $this->assertEquals($res->upstreams, []); + $this->assertEquals($res->downstreams, []); } public function testBogonLocal4()