-
Notifications
You must be signed in to change notification settings - Fork 0
Unit-tests #29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Unit-tests #29
Changes from 20 commits
Commits
Show all changes
50 commits
Select commit
Hold shift + click to select a range
a947ec4
main branch
aec41d0
implemented the unit tests for authentication and objects
5a89641
fixed the CI and Psalm
9c84675
fixed the CI and Psalm show-infor errors
fda7a1b
removed PersonUnitTest
ca125bf
implemented unit test
147b17a
DEBUG
a4d171f
DEBUG
ae085cf
enabled the mocking of final classes in PHPUnit
a7df996
enabled the mocking of final classes in PHPUnit
ec7693a
Debug
e5fc522
Debug
f256ec6
Removed the getters from resultCounters
30d31a7
updated the TransactionUnitTest
3b3eae0
fixed integration test for resultcounters
60f2f7d
fixed integration test
f093b16
fixed integration test
ae425ed
updated tests
e00b7d8
resolved conflicts
6db361a
seperated all integration tests
63a96ab
removed all the final keyword
pratikshazalte69 379ec73
DEBUG
pratikshazalte69 3ac6243
resolved changes according to comments
pratikshazalte69 78b3ad0
resolved changes
pratikshazalte69 3179ea9
invalidbooktest is created
123kiran17 f9d34da
Added unit test for ResultRow
pratikshazalte69 13fc352
chore: remove invalid import
123kiran17 c0d5bd7
Merge branch 'main' into invalidbookmarktest
123kiran17 8d96f84
psalm info issues are fixed
123kiran17 829e957
Added unit test for ResultRow
pratikshazalte69 1019823
Added unit test for ResultRow
pratikshazalte69 eac8354
Added final keyword
pratikshazalte69 12ba09a
fixed broken test and added schema for phpunit.xml
123kiran17 2c7ce6c
Merge remote-tracking branch 'origin/main' into invalidbookmarktest
123kiran17 dc88213
updated README.md
123kiran17 e8cd214
Added final keyword to all neccesary classes
pratikshazalte69 b48d977
minor errors
123kiran17 c3484e7
propertynotsetinconstructor is removed
123kiran17 166abee
Merge remote-tracking branch 'origin/main' into add-unit-tests-197459…
transistive 762f5cb
Merge remote-tracking branch 'origin/invalidbookmarktest' into add-un…
transistive 9a13ccc
fixed all warnings
transistive 57307b0
add coverage options
transistive f0d214d
explicitly mark test folder in phpunit tests
transistive 30916ba
remove coverage filter from phpunit xml
transistive 26da2a2
winp
pratikshazalte69 c1ba3cf
Deprecations fixed
pratikshazalte69 6635290
Deprecations fixed
pratikshazalte69 2f744a0
added a new phunitCoverage.xml file for generating a code coverage re…
pratikshazalte69 a196b99
added a new phunitCoverage.xml file for generating a code coverage re…
pratikshazalte69 493aea5
removed phunit.cache file and xml-coverage folder
pratikshazalte69 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,23 @@ | ||
# Use an official PHP image as the base image | ||
FROM php:8.1-cli | ||
|
||
# Install necessary extensions (e.g., for Composer) | ||
RUN apt-get update && apt-get install -y libpng-dev libjpeg-dev libfreetype6-dev git libzip-dev zip \ | ||
RUN apt-get update && \ | ||
apt-get install -y \ | ||
libpng-dev \ | ||
libjpeg-dev \ | ||
libfreetype6-dev \ | ||
git \ | ||
libzip-dev \ | ||
zip \ | ||
&& docker-php-ext-configure gd --with-freetype --with-jpeg \ | ||
&& docker-php-ext-install gd zip | ||
|
||
RUN pecl install xdebug pcov && docker-php-ext-enable xdebug pcov | ||
|
||
# Configure Xdebug for coverage | ||
# RUN echo "xdebug.mode=coverage" >> /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini | ||
|
||
# Set working directory | ||
WORKDIR /var/www | ||
|
||
# Copy the composer.phar file to the container | ||
COPY --from=composer:latest /usr/bin/composer /usr/bin/composer |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.