Commit ae7faf1e authored by Taylor Otwell's avatar Taylor Otwell

add example test file.

parent 2b7e4d18
......@@ -16,13 +16,16 @@ define('DS', DIRECTORY_SEPARATOR);
// --------------------------------------------------------------
// Override the framework paths if testing Laravel.
// --------------------------------------------------------------
if (in_array('build.xml', $_SERVER['argv']))
foreach ($_SERVER['argv'] as $argument)
{
if (strpos($argument, 'build.xml') !== false)
{
define('APP_PATH', realpath('bundles/laravel-tests/application').DS);
define('BUNDLE_PATH', realpath('bundles/laravel-tests/bundles').DS);
define('STORAGE_PATH', realpath('bundles/laravel-tests/storage').DS);
}
}
// --------------------------------------------------------------
......
<?php
class TestExample extends PHPUnit_Framework_TestCase {
/**
* Test that a given condition is met.
*
* @return void
*/
public function testSomethingIsTrue()
{
$this->assertTrue(true);
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment