diff --git a/CHANGELOG.md b/CHANGELOG.md index 9e406fd..79f9707 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,4 +18,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [0.0.3] - 2019-11-29 ### Added -- Added a new validator to check if country code is in the format ISO-3166-1 ALPHA-2. +- Added a new validator to check if country code is in the format ISO-3166-1 ALPHA-2. + +## [0.0.4] - 2020-00-00 +## Refactor +- Moved the unit tests to the root folder of tests. +### Added +- Added a new validator to check if country code is in the format ISO-3166-1 ALPHA-2. diff --git a/composer.json b/composer.json index 598cc50..729737f 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "lfbn/json-resume-validator", "description": "Validate your JSON Resume", - "version": "0.0.3", + "version": "0.0.4", "keywords": [ "JSON Resume", "JSON Schema" diff --git a/json-resume-validator.php b/json-resume-validator.php new file mode 100644 index 0000000..b3d9bbc --- /dev/null +++ b/json-resume-validator.php @@ -0,0 +1 @@ + - - - ./tests/integration/ + + ./tests/ diff --git a/tests/integration/BaseTest.php b/tests/BaseTest.php similarity index 100% rename from tests/integration/BaseTest.php rename to tests/BaseTest.php diff --git a/tests/integration/InvalidCountryTest.php b/tests/InvalidCountryTest.php similarity index 100% rename from tests/integration/InvalidCountryTest.php rename to tests/InvalidCountryTest.php diff --git a/tests/integration/InvalidFileTest.php b/tests/InvalidFileTest.php similarity index 100% rename from tests/integration/InvalidFileTest.php rename to tests/InvalidFileTest.php diff --git a/tests/integration/MandatoryPropsTest.php b/tests/MandatoryPropsTest.php similarity index 100% rename from tests/integration/MandatoryPropsTest.php rename to tests/MandatoryPropsTest.php diff --git a/tests/integration/SchemaViolationTest.php b/tests/SchemaViolationTest.php similarity index 100% rename from tests/integration/SchemaViolationTest.php rename to tests/SchemaViolationTest.php diff --git a/tests/integration/data/invalid/complete-invalid-url.json b/tests/data/invalid/complete-invalid-url.json similarity index 100% rename from tests/integration/data/invalid/complete-invalid-url.json rename to tests/data/invalid/complete-invalid-url.json diff --git a/tests/integration/data/invalid/empty-file.json b/tests/data/invalid/empty-file.json similarity index 100% rename from tests/integration/data/invalid/empty-file.json rename to tests/data/invalid/empty-file.json diff --git a/tests/integration/data/invalid/invalid-country.json b/tests/data/invalid/invalid-country.json similarity index 100% rename from tests/integration/data/invalid/invalid-country.json rename to tests/data/invalid/invalid-country.json diff --git a/tests/integration/data/invalid/invalid-json.json b/tests/data/invalid/invalid-json.json similarity index 100% rename from tests/integration/data/invalid/invalid-json.json rename to tests/data/invalid/invalid-json.json diff --git a/tests/integration/data/invalid/missing-mandatory-props.json b/tests/data/invalid/missing-mandatory-props.json similarity index 100% rename from tests/integration/data/invalid/missing-mandatory-props.json rename to tests/data/invalid/missing-mandatory-props.json diff --git a/tests/integration/data/invalid/resume-no-name.json b/tests/data/invalid/resume-no-name.json similarity index 100% rename from tests/integration/data/invalid/resume-no-name.json rename to tests/data/invalid/resume-no-name.json diff --git a/tests/integration/data/valid/complete.json b/tests/data/valid/complete.json similarity index 100% rename from tests/integration/data/valid/complete.json rename to tests/data/valid/complete.json