public function ReaderTest::testNonDatabase in Smart IP 7.2
Same name and namespace in other branches
- 6.2 includes/vendor/maxmind-db/reader/tests/MaxMind/Db/Test/ReaderTest.php \MaxMind\Db\Test\Reader\ReaderTest::testNonDatabase()
@expectedException MaxMind\Db\Reader\InvalidDatabaseException @expectedExceptionMessage Error opening database file (README.md). Is this a valid MaxMind DB file?
File
- includes/
vendor/ maxmind-db/ reader/ tests/ MaxMind/ Db/ Test/ ReaderTest.php, line 172
Class
Namespace
MaxMind\Db\Test\ReaderCode
public function testNonDatabase() {
new Reader('README.md');
}