Bolt\Tests\BoltListener::getBoltDb PHP Method

getBoltDb() protected method

Get the Bolt unit test Sqlite database.
protected getBoltDb ( string $boltdb ) : string
$boltdb string
return string
    protected function getBoltDb($boltdb)
    {
        if ($boltdb === false || isset($boltdb['boltdb']) && $boltdb['boltdb'] === '') {
            return $this->getPath('bolt.db', 'tests/phpunit/unit/resources/db/bolt.db');
        } else {
            return $this->getPath('bolt.db', $boltdb['boltdb']);
        }
    }