InfluxPHP/tests/bootstrap.php
César D. Rodas 73ac9315e7 added tests
2013-11-12 14:36:14 -03:00

11 lines
215 B
PHP

<?php
require __DIR__ . "/../vendor/autoload.php";
$client = new \crodas\InfluxPHP\Client;
foreach ($client->getDatabases() as $db) {
if (preg_match("/^test_/", $db->getName())) {
$db->drop();
}
}