Skip to content
This repository has been archived by the owner on Sep 7, 2022. It is now read-only.

Commit

Permalink
require phpunit to make AbstractMacroTestCase working without optiona…
Browse files Browse the repository at this point in the history
…l deps
  • Loading branch information
TomasVotruba committed May 31, 2022
1 parent b1ee06b commit 08fa2df
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
20 changes: 10 additions & 10 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,16 @@
"nette/bootstrap": "^3.1",
"symfony/console": "^6.0",
"symplify/smart-file-system": "^10.2",
"symplify/package-builder": "^10.2"
"symplify/package-builder": "^10.2",
"phpunit/phpunit": "^9.5"
},
"require-dev": {
"tracy/tracy": "^2.9",
"symplify/easy-coding-standard": "^10.2",
"phpstan/phpstan": "^1.6.8",
"nette/forms": "^3.1",
"nette/application": "^3.1",
"symplify/easy-testing": "^10.2"
},
"autoload": {
"psr-4": {
Expand All @@ -26,15 +35,6 @@
"Barista\\Tests\\": "tests"
}
},
"require-dev": {
"tracy/tracy": "^2.9",
"symplify/easy-coding-standard": "^10.2",
"phpstan/phpstan": "^1.6.8",
"phpunit/phpunit": "^9.5",
"nette/forms": "^3.1",
"nette/application": "^3.1",
"symplify/easy-testing": "^10.2"
},
"scripts": {
"check-cs": "vendor/bin/ecs --ansi",
"fix-cs": "vendor/bin/ecs --ansi --fix",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
/**
* @see https://tomasvotruba.com/blog/how-to-test-latte-macro-in-4-steps/
*/
abstract class AbstractMacroTest extends TestCase
abstract class AbstractMacroTestCase extends TestCase
{
private Engine $latteEngine;

Expand Down

1 comment on commit 08fa2df

@TomasVotruba
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix for #2

Please sign in to comment.