Compare commits

...

1 Commits

Author SHA1 Message Date
0686f22a19
Cleanup
Some checks failed
Run code tests / Run-code-test (push) Failing after 1m24s
2024-10-29 13:15:36 +03:00
3 changed files with 0 additions and 41 deletions

View File

@ -2,7 +2,6 @@ name: Run code tests
run-name: Run code tests run-name: Run code tests
on: on:
push: push:
workflow_dispatch:
jobs: jobs:
Run-code-test: Run-code-test:

View File

@ -1,13 +0,0 @@
<?php
declare(strict_types=1);
namespace Chicory\PackageTemplate;
class ExampleClass
{
public function sayHello(): string
{
return 'Hello';
}
}

View File

@ -1,27 +0,0 @@
<?php
declare(strict_types=1);
namespace Chicory\Tests\PackageTemplate;
use Chicory\PackageTemplate\ExampleClass;
use PHPUnit\Framework\Attributes\CoversClass;
use PHPUnit\Framework\TestCase;
#[CoversClass(ExampleClass::class)]
class ExampleClassTest extends TestCase
{
public ExampleClass $exampleClass;
protected function setUp(): void
{
$this->exampleClass = new ExampleClass();
parent::setUp();
}
public function testExampleClass(): void
{
$this->assertEquals('Hello', $this->exampleClass->sayHello());
}
}