mirror of
https://github.com/wintercms/winter.git
synced 2024-06-28 05:33:29 +02:00
23 lines
637 B
PHP
23 lines
637 B
PHP
<?php
|
|
|
|
class AliasesTest extends PluginTestCase
|
|
{
|
|
public function testInputFacadeAlias()
|
|
{
|
|
$this->assertTrue(class_exists('Illuminate\Support\Facades\Input'));
|
|
$this->assertInstanceOf(
|
|
\Winter\Storm\Support\Facades\Input::class,
|
|
new \Illuminate\Support\Facades\Input()
|
|
);
|
|
}
|
|
|
|
public function testHtmlDumperAlias()
|
|
{
|
|
$this->assertTrue(class_exists('Illuminate\Support\Debug\HtmlDumper'));
|
|
$this->assertInstanceOf(
|
|
\Symfony\Component\VarDumper\Dumper\HtmlDumper::class,
|
|
new \Illuminate\Support\Debug\HtmlDumper()
|
|
);
|
|
}
|
|
}
|