clean install

This commit is contained in:
2024-12-10 15:08:16 +01:00
commit e14eb2d8fd
31193 changed files with 3555714 additions and 0 deletions

View File

@@ -0,0 +1,39 @@
<?php
namespace Grasmash\YamlCli\Tests\Command;
use Grasmash\YamlCli\Tests\TestBase;
class ApplicationTest extends TestBase
{
/**
* Tests that all expected commands are available in the application.
*
* @dataProvider getValueProvider
*/
public function testApplication($expected)
{
$bin = realpath(__DIR__ . '/../../../bin/yaml-cli');
$output = shell_exec("$bin list");
$this->assertStringContainsString($expected, $output);
}
/**
* Provides values to testApplication().
*
* @return array
* An array of values to test.
*/
public function getValueProvider(): array
{
return [
['get:value'],
['get:type'],
['lint'],
['unset:key'],
['update:key'],
['update:value'],
];
}
}