mirror of
https://github.com/coollabsio/coolify.git
synced 2026-09-26 01:10:30 -04:00
17 lines
485 B
PHP
17 lines
485 B
PHP
<?php
|
|
|
|
it('does not show placeholder copy when a description is empty', function () {
|
|
$views = new RecursiveIteratorIterator(
|
|
new RecursiveDirectoryIterator(__DIR__.'/../../resources/views')
|
|
);
|
|
$viewContents = '';
|
|
|
|
foreach ($views as $view) {
|
|
if ($view->isFile() && $view->getExtension() === 'php') {
|
|
$viewContents .= file_get_contents($view->getPathname());
|
|
}
|
|
}
|
|
|
|
expect($viewContents)->not->toContain('No description');
|
|
});
|