diff --git a/.gitignore b/.gitignore index 41f1fd93f..133f00587 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ # Created by .gitignore support plugin (hsz.mobi) vendor/ -.idea \ No newline at end of file +.idea +build/ diff --git a/composer.json b/composer.json index a70a560bd..eebde4a54 100644 --- a/composer.json +++ b/composer.json @@ -22,7 +22,12 @@ }, "autoload": { "psr-4" : { - "Leaseweb\\InfluxDB": "src/Leaseweb/InfluxDB" + "Leaseweb\\InfluxDB\\": "src/Leaseweb/InfluxDB" + } + }, + "autoload-dev": { + "psr-4": { + "Leaseweb\\InfluxDB\\Test\\": "tests" } } } diff --git a/phpunit.xml b/phpunit.xml new file mode 100644 index 000000000..102011e1c --- /dev/null +++ b/phpunit.xml @@ -0,0 +1,29 @@ + + + + + tests + + + + + src/ + + + + + + + + + + diff --git a/tests/unit/ResultSetTest.php b/tests/unit/ResultSetTest.php new file mode 100644 index 000000000..2634a01ff --- /dev/null +++ b/tests/unit/ResultSetTest.php @@ -0,0 +1,12 @@ +assertTrue( + false + ); + } +} \ No newline at end of file