forked from loafle/openapi-generator-original
* Set required PHP version to ^7.2.5 * Write .gitignore into srcBasePath * Update dependencies * Copy latest Lumen sources to templates * Add Lumen license template * Use Lumen license in templates * Fix typo in readme * Add Init App Config readme section * Add composer.lock to root gitignore * Add Travis-CI task * Set OAS 3.0 input spec file for samples * Refresh samples
26 lines
518 B
PHP
26 lines
518 B
PHP
<?php
|
|
|
|
/**
|
|
* The Lumen framework is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).
|
|
*/
|
|
|
|
use Laravel\Lumen\Testing\DatabaseMigrations;
|
|
use Laravel\Lumen\Testing\DatabaseTransactions;
|
|
|
|
class ExampleTest extends TestCase
|
|
{
|
|
/**
|
|
* A basic test example.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function testExample()
|
|
{
|
|
$this->get('/');
|
|
|
|
$this->assertEquals(
|
|
$this->app->version(), $this->response->getContent()
|
|
);
|
|
}
|
|
}
|