Created structure for unit tests.

This commit is contained in:
Alex Tselegidis 2016-07-08 21:42:51 +02:00
parent a624e53e97
commit 0c1b504f56
3 changed files with 52 additions and 0 deletions

View File

@ -0,0 +1,20 @@
<?php
/* ----------------------------------------------------------------------------
* Easy!Appointments - Open Source Web Scheduler
*
* @package EasyAppointments
* @author A.Tselegidis <alextselegidis@gmail.com>
* @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 {
}

View File

@ -0,0 +1,20 @@
<?php
/* ----------------------------------------------------------------------------
* Easy!Appointments - Open Source Web Scheduler
*
* @package EasyAppointments
* @author A.Tselegidis <alextselegidis@gmail.com>
* @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 {
}

View File

@ -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
}