28 lines
589 B
PHP
28 lines
589 B
PHP
<?php
|
|
|
|
namespace Tests\Unit;
|
|
|
|
use Tests\TestCase;
|
|
|
|
class DatabaseConnectionTest extends TestCase
|
|
{
|
|
/**
|
|
* Test basic database connection for tests
|
|
*/
|
|
public function test_database_connection()
|
|
{
|
|
// Simple test without database operations
|
|
$this->assertTrue(true);
|
|
}
|
|
|
|
/**
|
|
* Test database configuration
|
|
*/
|
|
public function test_database_config()
|
|
{
|
|
$connection = config('database.connections.sqlite');
|
|
$this->assertIsArray($connection);
|
|
$this->assertEquals(':memory:', $connection['database']);
|
|
}
|
|
}
|