Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Dennis Eichhorn committed Mar 20, 2024
1 parent 8fe6509 commit 80176a5
Show file tree
Hide file tree
Showing 10 changed files with 34 additions and 34 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ With Karaka you have one partner who can provide many tools and software solutio

## Requirements

* PHP 8.1
* PHP extension: php8.1-dev php8.1-cli php8.1-common php8.1-mysql php8.1-pgsql php8.1-xdebug php8.1-opcache php8.1-pdo php8.1-sqlite php8.1-mbstring php8.1-curl php8.1-imap php8.1-bcmath php8.1-zip php8.1-dom php8.1-xml php8.1-phar php8.1-gd php-pear
* PHP 8.2
* PHP extension: php8.2-dev php8.2-cli php8.2-common php8.2-intl php8.2-mysql php8.2-pgsql php8.2-xdebug php8.2-opcache php8.2-pdo php8.2-sqlite php8.2-mbstring php8.2-curl php8.2-imap php8.2-bcmath php8.2-zip php8.2-dom php8.2-xml php8.2-phar php8.2-gd php-pear
* apache2 (recommended) or nginx
* mysql-server (recommended) or postgresql postgresql-contrib
* Tools: tesseract-ocr, pdftotext, pdftoppm
Expand Down
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@
}
],
"require-dev": {
"phpunit/phpunit": ">=9.4",
"friendsofphp/php-cs-fixer": ">=3.8",
"squizlabs/php_codesniffer": ">=3.6",
"phpunit/phpunit": ">=11.0",
"friendsofphp/php-cs-fixer": ">=3.51",
"squizlabs/php_codesniffer": ">=3.7",
"phpmd/phpmd": ">=2.9",
"phpstan/phpstan": ">=1.8.6",
"phpstan/phpstan": ">=1.10.62",
"phan/phan": ">=3.2.6",
"phploc/phploc": ">=7.0",
"phpmetrics/phpmetrics": ">=2.8",
"rector/rector": ">=0.18.0"
"rector/rector": ">=1.0.3"
},
"minimum-stability": "dev",
"prefer-stable": true
Expand Down
12 changes: 6 additions & 6 deletions tests/Controller/ApiControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ protected function setUp() : void
}

/**
* @covers Modules\Profile\Controller\ApiController
* @covers \Modules\Profile\Controller\ApiController
* @group module
*/
public function testApiProfileCreate() : void
Expand All @@ -111,7 +111,7 @@ public function testApiProfileCreate() : void
}

/**
* @covers Modules\Profile\Controller\ApiController
* @covers \Modules\Profile\Controller\ApiController
* @group module
*/
public function testApiProfileTempLoginCreate() : void
Expand All @@ -126,7 +126,7 @@ public function testApiProfileTempLoginCreate() : void
}

/**
* @covers Modules\Profile\Controller\ApiController
* @covers \Modules\Profile\Controller\ApiController
* @group module
*/
public function testApiProfileImageSet() : void
Expand Down Expand Up @@ -155,7 +155,7 @@ public function testApiProfileImageSet() : void
}

/**
* @covers Modules\Profile\Controller\ApiController
* @covers \Modules\Profile\Controller\ApiController
* @group module
*/
public function testApiProfileImageSetInvalid() : void
Expand All @@ -168,7 +168,7 @@ public function testApiProfileImageSetInvalid() : void
}

/**
* @covers Modules\Profile\Controller\ApiController
* @covers \Modules\Profile\Controller\ApiController
* @group module
*/
/*
Expand All @@ -189,7 +189,7 @@ public function testApiContactElementCreate() : void
*/

/**
* @covers Modules\Profile\Controller\ApiController
* @covers \Modules\Profile\Controller\ApiController
* @group module
*/
public function testApiContactElementCreateInvalidData() : void
Expand Down
2 changes: 1 addition & 1 deletion tests/Models/ContactElementTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ protected function setUp() : void
}

/**
* @covers Modules\Profile\Models\ContactElement
* @covers \Modules\Profile\Models\ContactElement
* @group module
*/
public function testDefault() : void
Expand Down
2 changes: 1 addition & 1 deletion tests/Models/ContactTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ protected function setUp() : void
}

/**
* @covers Modules\Profile\Models\Contact
* @covers \Modules\Profile\Models\Contact
* @group module
*/
public function testDefault() : void
Expand Down
6 changes: 3 additions & 3 deletions tests/Models/NullContactElementTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
final class NullContactElementTest extends \PHPUnit\Framework\TestCase
{
/**
* @covers Modules\Profile\Models\NullContactElement
* @covers \Modules\Profile\Models\NullContactElement
* @group module
*/
public function testNull() : void
Expand All @@ -31,7 +31,7 @@ public function testNull() : void
}

/**
* @covers Modules\Profile\Models\NullContactElement
* @covers \Modules\Profile\Models\NullContactElement
* @group module
*/
public function testId() : void
Expand All @@ -41,7 +41,7 @@ public function testId() : void
}

/**
* @covers Modules\Profile\Models\NullContactElement
* @covers \Modules\Profile\Models\NullContactElement
* @group module
*/
public function testJsonSerialize() : void
Expand Down
6 changes: 3 additions & 3 deletions tests/Models/NullContactTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
final class NullContactTest extends \PHPUnit\Framework\TestCase
{
/**
* @covers Modules\Profile\Models\NullContact
* @covers \Modules\Profile\Models\NullContact
* @group module
*/
public function testNull() : void
Expand All @@ -31,7 +31,7 @@ public function testNull() : void
}

/**
* @covers Modules\Profile\Models\NullContact
* @covers \Modules\Profile\Models\NullContact
* @group module
*/
public function testId() : void
Expand All @@ -41,7 +41,7 @@ public function testId() : void
}

/**
* @covers Modules\Profile\Models\NullContact
* @covers \Modules\Profile\Models\NullContact
* @group module
*/
public function testJsonSerialize() : void
Expand Down
6 changes: 3 additions & 3 deletions tests/Models/NullProfileTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
final class NullProfileTest extends \PHPUnit\Framework\TestCase
{
/**
* @covers Modules\Profile\Models\NullProfile
* @covers \Modules\Profile\Models\NullProfile
* @group module
*/
public function testNull() : void
Expand All @@ -31,7 +31,7 @@ public function testNull() : void
}

/**
* @covers Modules\Profile\Models\NullProfile
* @covers \Modules\Profile\Models\NullProfile
* @group module
*/
public function testId() : void
Expand All @@ -41,7 +41,7 @@ public function testId() : void
}

/**
* @covers Modules\Profile\Models\NullProfile
* @covers \Modules\Profile\Models\NullProfile
* @group module
*/
public function testJsonSerialize() : void
Expand Down
2 changes: 1 addition & 1 deletion tests/Models/ProfileMapperTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
final class ProfileMapperTest extends \PHPUnit\Framework\TestCase
{
/**
* @covers Modules\Profile\Models\ProfileMapper
* @covers \Modules\Profile\Models\ProfileMapper
* @group module
*/
public function testCRUD() : void
Expand Down
18 changes: 9 additions & 9 deletions tests/Models/ProfileTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ protected function setUp() : void
}

/**
* @covers Modules\Profile\Models\Profile
* @covers \Modules\Profile\Models\Profile
* @group module
*/
public function testDefault() : void
Expand All @@ -50,7 +50,7 @@ public function testDefault() : void
}

/**
* @covers Modules\Profile\Models\Profile
* @covers \Modules\Profile\Models\Profile
* @group module
*/
public function testGenderInputOutput() : void
Expand All @@ -60,7 +60,7 @@ public function testGenderInputOutput() : void
}

/**
* @covers Modules\Profile\Models\Profile
* @covers \Modules\Profile\Models\Profile
* @group module
*/
public function testInvalidGender() : void
Expand All @@ -71,7 +71,7 @@ public function testInvalidGender() : void
}

/**
* @covers Modules\Profile\Models\Profile
* @covers \Modules\Profile\Models\Profile
* @group module
*/
public function testSexInputOutput() : void
Expand All @@ -81,7 +81,7 @@ public function testSexInputOutput() : void
}

/**
* @covers Modules\Profile\Models\Profile
* @covers \Modules\Profile\Models\Profile
* @group module
*/
public function testInvalidSex() : void
Expand All @@ -92,7 +92,7 @@ public function testInvalidSex() : void
}

/**
* @covers Modules\Profile\Models\Profile
* @covers \Modules\Profile\Models\Profile
* @group module
*/
public function testBirthdayInputOutput() : void
Expand All @@ -102,7 +102,7 @@ public function testBirthdayInputOutput() : void
}

/**
* @covers Modules\Profile\Models\Profile
* @covers \Modules\Profile\Models\Profile
* @group module
*/
public function testImageInputOutput() : void
Expand All @@ -112,7 +112,7 @@ public function testImageInputOutput() : void
}

/**
* @covers Modules\Profile\Models\Profile
* @covers \Modules\Profile\Models\Profile
* @group module
*/
public function testAccountInputOutput() : void
Expand All @@ -125,7 +125,7 @@ public function testAccountInputOutput() : void
}

/**
* @covers Modules\Profile\Models\Profile
* @covers \Modules\Profile\Models\Profile
* @group module
*/
public function testSerialize() : void
Expand Down

0 comments on commit 80176a5

Please sign in to comment.