Skip to content

Commit

Permalink
Merge pull request #27 from jweiland-net/useCorrectVarNameInTest
Browse files Browse the repository at this point in the history
Use correct var name in annotation of test file
  • Loading branch information
hojalatheef committed Jan 15, 2024
2 parents 51403aa + 4c02c38 commit 3022169
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 10 deletions.
5 changes: 5 additions & 0 deletions Documentation/ChangeLog/Index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
ChangeLog
=========

Version 4.0.2
=============

* Use correct var in annotation of DynamicUploadValidatorHookTest

Version 4.0.1
=============

Expand Down
2 changes: 1 addition & 1 deletion Documentation/Settings.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
[general]

project = Check FAL Uploads
version = 4.0.1
version = 4.0.2
release = 4.0
copyright = by jweiland.net

Expand Down
16 changes: 8 additions & 8 deletions Tests/Functional/Hooks/Form/DynamicUploadValidatorHookTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ public function afterSubmitWithEmptyResourcePointerWillReturnNull(mixed $invalid
*/
public function afterSubmitWithNoChildElementsReturnsOriginalEmptyValue(): void
{
/** @var Page|MockObject $uploadedFileMock */
/** @var Page|MockObject $pageMock */
$pageMock = $this->createMock(Page::class);
$pageMock
->expects(self::atLeastOnce())
Expand Down Expand Up @@ -188,7 +188,7 @@ public function afterSubmitWithNoCheckboxElementReturnsOriginalEmptyValue(): voi
->method('getType')
->willReturn('Text');

/** @var Page|MockObject $uploadedFileMock */
/** @var Page|MockObject $pageMock */
$pageMock = $this->createMock(Page::class);
$pageMock
->expects(self::atLeastOnce())
Expand Down Expand Up @@ -236,7 +236,7 @@ public function afterSubmitWithEmptyCheckboxPropertiesReturnsOriginalEmptyValue(
->method('getProperties')
->willReturn([]);

/** @var Page|MockObject $uploadedFileMock */
/** @var Page|MockObject $pageMock */
$pageMock = $this->createMock(Page::class);
$pageMock
->expects(self::atLeastOnce())
Expand Down Expand Up @@ -286,7 +286,7 @@ public function afterSubmitWithEmptyUploadIdentifierReturnsOriginalEmptyValue():
'checkboxType' => 'uploadRights',
]);

/** @var Page|MockObject $uploadedFileMock */
/** @var Page|MockObject $pageMock */
$pageMock = $this->createMock(Page::class);
$pageMock
->expects(self::atLeastOnce())
Expand Down Expand Up @@ -337,7 +337,7 @@ public function afterSubmitWithDifferentIdentifiersReturnsOriginalEmptyValue():
'referenceUploadIdentifier' => 'Different Identifier',
]);

/** @var Page|MockObject $uploadedFileMock */
/** @var Page|MockObject $pageMock */
$pageMock = $this->createMock(Page::class);
$pageMock
->expects(self::atLeastOnce())
Expand Down Expand Up @@ -392,7 +392,7 @@ public function afterSubmitWithMissingCheckboxRequestReturnsOriginalEmptyValue()
'referenceUploadIdentifier' => 'CorrectIdentifier',
]);

/** @var Page|MockObject $uploadedFileMock */
/** @var Page|MockObject $pageMock */
$pageMock = $this->createMock(Page::class);
$pageMock
->expects(self::atLeastOnce())
Expand Down Expand Up @@ -451,7 +451,7 @@ public function afterSubmitWithActivatedCheckboxReturnsOriginalEmptyValue(): voi
->method('getIdentifier')
->willReturn('CheckboxIdentifier');

/** @var Page|MockObject $uploadedFileMock */
/** @var Page|MockObject $pageMock */
$pageMock = $this->createMock(Page::class);
$pageMock
->expects(self::atLeastOnce())
Expand Down Expand Up @@ -519,7 +519,7 @@ public function afterSubmitWithDeactivatedCheckboxWillAddNotEmptyValidator(): vo
self::isInstanceOf(NotEmptyValidator::class)
);

/** @var Page|MockObject $uploadedFileMock */
/** @var Page|MockObject $pageMock */
$pageMock = $this->createMock(Page::class);
$pageMock
->expects(self::atLeastOnce())
Expand Down
2 changes: 1 addition & 1 deletion ext_emconf.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
'author_email' => 'projects@jweiland.net',
'author_company' => 'jweiland.net',
'state' => 'stable',
'version' => '4.0.1',
'version' => '4.0.2',
'constraints' => [
'depends' => [
'typo3' => '12.4.4-12.4.99',
Expand Down

0 comments on commit 3022169

Please sign in to comment.