for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the trendsoft/themes.
* (c) jabber <[email protected]>
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
namespace Tests\Feature;
use Tests\TestCase;
use Themes\Theme;
class ThemeTest extends TestCase
{
/**
* @dataProvider configProvider
public function testSetTheme($config)
$theme = new Theme($config);
$theme->setCurrent('default');
$this->assertSame('default', $theme->getCurrent());
}
public function testActiveTheme($config)
$theme->active('default');