Skip to content

Commit

Permalink
tests: added dir /expected
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Feb 11, 2024
1 parent f373bcd commit efad361
Show file tree
Hide file tree
Showing 8 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tests/Forms/Forms.renderer.1.phpt
Expand Up @@ -127,4 +127,4 @@ $form->setDefaults($defaults);
$form->onSuccess[] = function () {};
$form->fireEvents();

Assert::matchFile(__DIR__ . '/Forms.renderer.1.expect', $form->__toString(true));
Assert::matchFile(__DIR__ . '/expected/Forms.renderer.1.expect', $form->__toString(true));
2 changes: 1 addition & 1 deletion tests/Forms/Forms.renderer.2.phpt
Expand Up @@ -132,4 +132,4 @@ $form->setDefaults($defaults);
$form->onSuccess[] = function () {};
$form->fireEvents();

Assert::matchFile(__DIR__ . '/Forms.renderer.2.expect', $form->__toString(true));
Assert::matchFile(__DIR__ . '/expected/Forms.renderer.2.expect', $form->__toString(true));
2 changes: 1 addition & 1 deletion tests/Forms/Forms.renderer.5.phpt
Expand Up @@ -48,4 +48,4 @@ $form->addSubmit('submit', 'Order');

$form->fireEvents();

Assert::matchFile(__DIR__ . '/Forms.renderer.5.expect', $form->__toString(true));
Assert::matchFile(__DIR__ . '/expected/Forms.renderer.5.expect', $form->__toString(true));
2 changes: 1 addition & 1 deletion tests/Forms/Forms.renderer.translate.phpt
Expand Up @@ -42,7 +42,7 @@ $form->addPassword('password', 'Password')
$form->addSubmit('submit', 'Send');


Assert::matchFile(__DIR__ . '/Forms.renderer.translate.expect', $form->__toString(true));
Assert::matchFile(__DIR__ . '/expected/Forms.renderer.translate.expect', $form->__toString(true));


// Checking whether translation is not duplicated
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit efad361

Please sign in to comment.