mirror of
https://github.com/Karaka-Management/oms-Profile.git
synced 2026-01-10 14:58:40 +00:00
fix tests
This commit is contained in:
parent
8fe650951e
commit
80176a5f3e
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -92,7 +92,7 @@ final class ApiControllerTest extends \PHPUnit\Framework\TestCase
|
|||
}
|
||||
|
||||
/**
|
||||
* @covers Modules\Profile\Controller\ApiController
|
||||
* @covers \Modules\Profile\Controller\ApiController
|
||||
* @group module
|
||||
*/
|
||||
public function testApiProfileCreate() : void
|
||||
|
|
@ -111,7 +111,7 @@ final class ApiControllerTest extends \PHPUnit\Framework\TestCase
|
|||
}
|
||||
|
||||
/**
|
||||
* @covers Modules\Profile\Controller\ApiController
|
||||
* @covers \Modules\Profile\Controller\ApiController
|
||||
* @group module
|
||||
*/
|
||||
public function testApiProfileTempLoginCreate() : void
|
||||
|
|
@ -126,7 +126,7 @@ final class ApiControllerTest extends \PHPUnit\Framework\TestCase
|
|||
}
|
||||
|
||||
/**
|
||||
* @covers Modules\Profile\Controller\ApiController
|
||||
* @covers \Modules\Profile\Controller\ApiController
|
||||
* @group module
|
||||
*/
|
||||
public function testApiProfileImageSet() : void
|
||||
|
|
@ -155,7 +155,7 @@ final class ApiControllerTest extends \PHPUnit\Framework\TestCase
|
|||
}
|
||||
|
||||
/**
|
||||
* @covers Modules\Profile\Controller\ApiController
|
||||
* @covers \Modules\Profile\Controller\ApiController
|
||||
* @group module
|
||||
*/
|
||||
public function testApiProfileImageSetInvalid() : void
|
||||
|
|
@ -168,7 +168,7 @@ final class ApiControllerTest extends \PHPUnit\Framework\TestCase
|
|||
}
|
||||
|
||||
/**
|
||||
* @covers Modules\Profile\Controller\ApiController
|
||||
* @covers \Modules\Profile\Controller\ApiController
|
||||
* @group module
|
||||
*/
|
||||
/*
|
||||
|
|
@ -189,7 +189,7 @@ final class ApiControllerTest extends \PHPUnit\Framework\TestCase
|
|||
*/
|
||||
|
||||
/**
|
||||
* @covers Modules\Profile\Controller\ApiController
|
||||
* @covers \Modules\Profile\Controller\ApiController
|
||||
* @group module
|
||||
*/
|
||||
public function testApiContactElementCreateInvalidData() : void
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ final class ContactElementTest extends \PHPUnit\Framework\TestCase
|
|||
}
|
||||
|
||||
/**
|
||||
* @covers Modules\Profile\Models\ContactElement
|
||||
* @covers \Modules\Profile\Models\ContactElement
|
||||
* @group module
|
||||
*/
|
||||
public function testDefault() : void
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ final class ContactTest extends \PHPUnit\Framework\TestCase
|
|||
}
|
||||
|
||||
/**
|
||||
* @covers Modules\Profile\Models\Contact
|
||||
* @covers \Modules\Profile\Models\Contact
|
||||
* @group module
|
||||
*/
|
||||
public function testDefault() : void
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ use Modules\Profile\Models\NullContactElement;
|
|||
final class NullContactElementTest extends \PHPUnit\Framework\TestCase
|
||||
{
|
||||
/**
|
||||
* @covers Modules\Profile\Models\NullContactElement
|
||||
* @covers \Modules\Profile\Models\NullContactElement
|
||||
* @group module
|
||||
*/
|
||||
public function testNull() : void
|
||||
|
|
@ -31,7 +31,7 @@ final class NullContactElementTest extends \PHPUnit\Framework\TestCase
|
|||
}
|
||||
|
||||
/**
|
||||
* @covers Modules\Profile\Models\NullContactElement
|
||||
* @covers \Modules\Profile\Models\NullContactElement
|
||||
* @group module
|
||||
*/
|
||||
public function testId() : void
|
||||
|
|
@ -41,7 +41,7 @@ final class NullContactElementTest extends \PHPUnit\Framework\TestCase
|
|||
}
|
||||
|
||||
/**
|
||||
* @covers Modules\Profile\Models\NullContactElement
|
||||
* @covers \Modules\Profile\Models\NullContactElement
|
||||
* @group module
|
||||
*/
|
||||
public function testJsonSerialize() : void
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ use Modules\Profile\Models\NullContact;
|
|||
final class NullContactTest extends \PHPUnit\Framework\TestCase
|
||||
{
|
||||
/**
|
||||
* @covers Modules\Profile\Models\NullContact
|
||||
* @covers \Modules\Profile\Models\NullContact
|
||||
* @group module
|
||||
*/
|
||||
public function testNull() : void
|
||||
|
|
@ -31,7 +31,7 @@ final class NullContactTest extends \PHPUnit\Framework\TestCase
|
|||
}
|
||||
|
||||
/**
|
||||
* @covers Modules\Profile\Models\NullContact
|
||||
* @covers \Modules\Profile\Models\NullContact
|
||||
* @group module
|
||||
*/
|
||||
public function testId() : void
|
||||
|
|
@ -41,7 +41,7 @@ final class NullContactTest extends \PHPUnit\Framework\TestCase
|
|||
}
|
||||
|
||||
/**
|
||||
* @covers Modules\Profile\Models\NullContact
|
||||
* @covers \Modules\Profile\Models\NullContact
|
||||
* @group module
|
||||
*/
|
||||
public function testJsonSerialize() : void
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ use Modules\Profile\Models\NullProfile;
|
|||
final class NullProfileTest extends \PHPUnit\Framework\TestCase
|
||||
{
|
||||
/**
|
||||
* @covers Modules\Profile\Models\NullProfile
|
||||
* @covers \Modules\Profile\Models\NullProfile
|
||||
* @group module
|
||||
*/
|
||||
public function testNull() : void
|
||||
|
|
@ -31,7 +31,7 @@ final class NullProfileTest extends \PHPUnit\Framework\TestCase
|
|||
}
|
||||
|
||||
/**
|
||||
* @covers Modules\Profile\Models\NullProfile
|
||||
* @covers \Modules\Profile\Models\NullProfile
|
||||
* @group module
|
||||
*/
|
||||
public function testId() : void
|
||||
|
|
@ -41,7 +41,7 @@ final class NullProfileTest extends \PHPUnit\Framework\TestCase
|
|||
}
|
||||
|
||||
/**
|
||||
* @covers Modules\Profile\Models\NullProfile
|
||||
* @covers \Modules\Profile\Models\NullProfile
|
||||
* @group module
|
||||
*/
|
||||
public function testJsonSerialize() : void
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ use Modules\Profile\Models\ProfileMapper;
|
|||
final class ProfileMapperTest extends \PHPUnit\Framework\TestCase
|
||||
{
|
||||
/**
|
||||
* @covers Modules\Profile\Models\ProfileMapper
|
||||
* @covers \Modules\Profile\Models\ProfileMapper
|
||||
* @group module
|
||||
*/
|
||||
public function testCRUD() : void
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ final class ProfileTest extends \PHPUnit\Framework\TestCase
|
|||
}
|
||||
|
||||
/**
|
||||
* @covers Modules\Profile\Models\Profile
|
||||
* @covers \Modules\Profile\Models\Profile
|
||||
* @group module
|
||||
*/
|
||||
public function testDefault() : void
|
||||
|
|
@ -50,7 +50,7 @@ final class ProfileTest extends \PHPUnit\Framework\TestCase
|
|||
}
|
||||
|
||||
/**
|
||||
* @covers Modules\Profile\Models\Profile
|
||||
* @covers \Modules\Profile\Models\Profile
|
||||
* @group module
|
||||
*/
|
||||
public function testGenderInputOutput() : void
|
||||
|
|
@ -60,7 +60,7 @@ final class ProfileTest extends \PHPUnit\Framework\TestCase
|
|||
}
|
||||
|
||||
/**
|
||||
* @covers Modules\Profile\Models\Profile
|
||||
* @covers \Modules\Profile\Models\Profile
|
||||
* @group module
|
||||
*/
|
||||
public function testInvalidGender() : void
|
||||
|
|
@ -71,7 +71,7 @@ final class ProfileTest extends \PHPUnit\Framework\TestCase
|
|||
}
|
||||
|
||||
/**
|
||||
* @covers Modules\Profile\Models\Profile
|
||||
* @covers \Modules\Profile\Models\Profile
|
||||
* @group module
|
||||
*/
|
||||
public function testSexInputOutput() : void
|
||||
|
|
@ -81,7 +81,7 @@ final class ProfileTest extends \PHPUnit\Framework\TestCase
|
|||
}
|
||||
|
||||
/**
|
||||
* @covers Modules\Profile\Models\Profile
|
||||
* @covers \Modules\Profile\Models\Profile
|
||||
* @group module
|
||||
*/
|
||||
public function testInvalidSex() : void
|
||||
|
|
@ -92,7 +92,7 @@ final class ProfileTest extends \PHPUnit\Framework\TestCase
|
|||
}
|
||||
|
||||
/**
|
||||
* @covers Modules\Profile\Models\Profile
|
||||
* @covers \Modules\Profile\Models\Profile
|
||||
* @group module
|
||||
*/
|
||||
public function testBirthdayInputOutput() : void
|
||||
|
|
@ -102,7 +102,7 @@ final class ProfileTest extends \PHPUnit\Framework\TestCase
|
|||
}
|
||||
|
||||
/**
|
||||
* @covers Modules\Profile\Models\Profile
|
||||
* @covers \Modules\Profile\Models\Profile
|
||||
* @group module
|
||||
*/
|
||||
public function testImageInputOutput() : void
|
||||
|
|
@ -112,7 +112,7 @@ final class ProfileTest extends \PHPUnit\Framework\TestCase
|
|||
}
|
||||
|
||||
/**
|
||||
* @covers Modules\Profile\Models\Profile
|
||||
* @covers \Modules\Profile\Models\Profile
|
||||
* @group module
|
||||
*/
|
||||
public function testAccountInputOutput() : void
|
||||
|
|
@ -125,7 +125,7 @@ final class ProfileTest extends \PHPUnit\Framework\TestCase
|
|||
}
|
||||
|
||||
/**
|
||||
* @covers Modules\Profile\Models\Profile
|
||||
* @covers \Modules\Profile\Models\Profile
|
||||
* @group module
|
||||
*/
|
||||
public function testSerialize() : void
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user