After creating a custom configuration for my module "module_name.settings.yml" simpletest fails with this message:
InvalidArgumentException: Invalid database prefix: in Drupal\Core\Test\TestDatabase->__construct() (line 81 of /path/to/installation/core/lib/Drupal/Core/Test/TestDatabase.php)
I reinstalled my module and everything works. I load the configuration with the following code.
$config = \Drupal::config('module_name.settings');
$base = $config->get('module_name.variable');
Still, I can't run my tests. If I remove the content from my configuration, tests run again. I'm using Drupal 8.3.4, Apache 2.4.18, PHP 7.0.8, and MariaDB 10.1.25.