Skip to content

Commit

Permalink
Test improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
peter279k committed Mar 19, 2020
1 parent 014b90e commit 4d99ef5
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
language: php
dist: trusty
php:
- '7.1'
- '7.2'
- '7.3'
- '7.4'
install:
- composer update
- composer install
script:
- ./vendor/bin/phpunit --coverage-clover ./tests/Logs/clover.xml
after_script:
Expand Down
5 changes: 5 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,10 @@
"psr-4": {
"DivineOmega\\Postcodes\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"DivineOmega\\Postcodes\\Tests\\": "tests/Unit/"
}
}
}
2 changes: 2 additions & 0 deletions tests/Unit/BasicUsageTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

namespace DivineOmega\Postcodes\Tests;

use DivineOmega\Postcodes\Exceptions\InvalidPostcodeException;
use DivineOmega\Postcodes\Utils\Generator;
use DivineOmega\Postcodes\Utils\Tokenizer;
Expand Down
2 changes: 2 additions & 0 deletions tests/Unit/PostcodesIoTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

namespace DivineOmega\Postcodes\Tests;

use DivineOmega\Postcodes\Objects\PostcodesIo;
use PHPUnit\Framework\TestCase;

Expand Down

0 comments on commit 4d99ef5

Please sign in to comment.