1234567891011121314151617181920212223242526 |
- <?php
- // Copyright 2019 Hackware SpA <human@hackware.cl>
- // "Hackware Web Services Core" is released under the MIT License terms.
- namespace Hawese\Tests;
- // use PHPUnit\Framework\TestCase as BaseTestCase; // Eventually
- use Laravel\Lumen\Testing\TestCase as BaseTestCase;
- abstract class TestCase extends BaseTestCase
- {
- public function createApplication()
- {
- return require 'bootstrap/app.php';
- }
- /**
- * Access to database schema builder without Schema facade
- */
- protected static function schema()
- {
- return app('db')->connection()->getSchemaBuilder();
- }
- }
|