diff --git a/test/php/engine/Api/V1/AuthorizationTest.php b/test/php/engine/Api/V1/AuthorizationTest.php new file mode 100644 index 00000000..7878b5b4 --- /dev/null +++ b/test/php/engine/Api/V1/AuthorizationTest.php @@ -0,0 +1,20 @@ + + * @copyright Copyright (c) 2013 - 2016, Alex Tselegidis + * @license http://opensource.org/licenses/GPL-3.0 - GPLv3 + * @link http://easyappointments.org + * @since v1.2.0 + * ---------------------------------------------------------------------------- */ + +namespace \EA\Engine\Api\V1; + +use PHPUnit\Framework\TestCase; + +class AuthorizationTest extends \TestCase { + +} diff --git a/test/php/engine/Api/V1/ResponseTest.php b/test/php/engine/Api/V1/ResponseTest.php new file mode 100644 index 00000000..5a85ea3e --- /dev/null +++ b/test/php/engine/Api/V1/ResponseTest.php @@ -0,0 +1,20 @@ + + * @copyright Copyright (c) 2013 - 2016, Alex Tselegidis + * @license http://opensource.org/licenses/GPL-3.0 - GPLv3 + * @link http://easyappointments.org + * @since v1.2.0 + * ---------------------------------------------------------------------------- */ + +namespace \EA\Engine\Api\V1; + +use PHPUnit\Framework\TestCase; + +class ResponseTest extends TestCase { + +} diff --git a/test/php/engine/Api/V1/fixtures/appointment.json b/test/php/engine/Api/V1/fixtures/appointment.json new file mode 100644 index 00000000..140f98e7 --- /dev/null +++ b/test/php/engine/Api/V1/fixtures/appointment.json @@ -0,0 +1,12 @@ +{ + "id": 1, + "hash": "asdf809a8sdf987a9d8f7", + "book": "2016-07-08 12:57:00", + "start": "2016-07-08 12:57:00", + "end": "2016-07-08 12:57:00", + "customerId": 56, + "providerId": 4, + "serviceId": 7, + "notes": "These are some test notes.", + "googleCalendarId": 9834 +}