Skip to content

Commit fe28b3c

Browse files
committed
#53 - Unit Test complete reset (all green or commented now)
1 parent 448440a commit fe28b3c

File tree

82 files changed

+5489
-7767
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

82 files changed

+5489
-7767
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,4 @@ composer.lock
3636
/.build/
3737

3838

39+
/tmp/

Makefile

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -56,30 +56,20 @@ pretest:
5656
composer --ansi --no-interaction update
5757
php -f tests/PrepareForTest.php
5858

59-
phpunit:
60-
composer update
61-
vendor/bin/phpunit --bootstrap testing/bootstrap.php
62-
6359
deb:
6460
dpkg-buildpackage -A -us -uc
6561

6662
rpm:
6763
rpmdev-bumpspec --comment="Build" --userstring="Vítězslav Dvořák <[email protected]>" flexipeehp.spec
6864
rpmbuild -ba flexipeehp.spec
6965

70-
verup:
71-
git commit debian/composer.json debian/version debian/revision -m "`cat debian/version`-`cat debian/revision`"
72-
git push origin master
73-
7466
release:
7567
echo Release v$(nextversion)
7668
dch -v $(nextversion) `git log -1 --pretty=%B | head -n 1`
7769
debuild -i -us -uc -b
7870
git commit -a -m "Release v$(nextversion)"
7971
git tag -a $(nextversion) -m "version $(nextversion)"
8072

81-
82-
8373
dimage:
8474
docker build -t vitexsoftware/flexipeehp .
8575

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828
"autoload-dev": {
2929
"psr-4": {
3030
"Test\\Ease\\": "vendor/vitexsoftware/ease-core/tests/src/Ease",
31-
"Test\\AbraFlexi\\": "test/src/AbraFlexi/",
32-
"Test\\": "test/"
31+
"Test\\AbraFlexi\\": "tests/src/AbraFlexi/",
32+
"Test\\": "tests/"
3333
}
3434
},
3535
"require-dev": {

phpunit.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" colors="true" bootstrap="./test/bootstrap.php" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
2+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" colors="true" bootstrap="tests/bootstrap.php" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
33
<coverage>
44
<include>
55
<directory suffix=".php">src/AbraFlexi</directory>
66
</include>
77
</coverage>
88
<testsuites>
99
<testsuite name="all">
10-
<directory>./test</directory>
10+
<directory>./tests</directory>
1111
</testsuite>
1212
</testsuites>
1313
<!-- logging>

src/AbraFlexi/RO.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -362,8 +362,8 @@ class RO extends \Ease\Sand
362362
/**
363363
* Class for read only interaction with AbraFlexi.
364364
*
365-
* @param mixed $init default record id or initial data. See processInit()
366-
* @param array<string, string> $options Connection settings and other options override
365+
* @param mixed $init default record id or initial data. See processInit()
366+
* @param array<string, int|string|true> $options Connection settings and other options override
367367
*/
368368
public function __construct($init = null, $options = [])
369369
{

tests/AbraFlexi/ActionsTest.php

Lines changed: 0 additions & 41 deletions
This file was deleted.

tests/AbraFlexi/AdresarTest.php

Lines changed: 0 additions & 221 deletions
This file was deleted.

0 commit comments

Comments
 (0)