22 lines
677 B
PHP
22 lines
677 B
PHP
<?php
|
|
|
|
namespace MintyPHP\Tests\Architecture;
|
|
|
|
use PHPUnit\Framework\TestCase;
|
|
|
|
class ListActionContractTest extends TestCase
|
|
{
|
|
use ListContractFiles;
|
|
use ProjectFileAssertionSupport;
|
|
|
|
public function testListActionsExposeSplitToolbarSchemasAndChipMeta(): void
|
|
{
|
|
foreach ($this->listIndexActions() as $file) {
|
|
$content = $this->readProjectFile($file);
|
|
$this->assertStringContainsString('$searchToolbarFilterSchema', $content, $file);
|
|
$this->assertStringContainsString('$drawerToolbarFilterSchema', $content, $file);
|
|
$this->assertStringContainsString('$filterChipMeta', $content, $file);
|
|
}
|
|
}
|
|
}
|