Skip to content
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

POC HAPI #52

Open
wants to merge 5 commits into
base: develop
Choose a base branch
from
Open

POC HAPI #52

wants to merge 5 commits into from

Conversation

attiks
Copy link
Collaborator

@attiks attiks commented Sep 21, 2023

No description provided.

Copy link

Coverage Report

Totals Coverage
Statements: 30.39% ( 937 / 3083 )
Methods: 32.9% ( 203 / 617 )
Lines: 29.76% ( 734 / 2466 )

StandWithUkraine

Copy link

Composer Validate success

Composer Audit success

PHP Lint success

Docker Build success

Environment Setup success

Site Install success

Config Lint success

Unit Tests success

Software Versions
Copyright (c) The PHP Group
Zend Engine v4.2.15, Copyright (c) Zend Technologies
    with Zend OPcache v8.2.15, Copyright (c), by Zend Technologies
    with Xdebug v3.3.1, Copyright (c) 2002-2023, by Derick Rethans
Composer version 2.7.1 2024-02-09 15:26:28
Composer Audit

</details>
<details><summary>Config Lint</summary>

```
 [OK] All 25 YAML files contain valid syntax.                                   


 [OK] All 3 Twig files contain valid syntax.                                    


 [OK] All 0 XLIFF files contain valid syntax.                                   


 [OK] The container was linted successfully: all services are injected with     
      values that are compatible with their type declarations.                  

```

</details>
<details><summary>Unit Tests</summary>

```PHPUnit 9.6.15 by Sebastian Bergmann and contributors.

Testing 
Test 'AppTestsExternalLookupTest::testCreateJson' started
Test 'AppTestsExternalLookupTest::testCreateJson' ended
Test 'AppTestsExternalLookupTest::testCreateLdJson' started
Test 'AppTestsExternalLookupTest::testCreateLdJson' ended
Test 'AppTestsExternalLookupTest::testCreateAsUser1' started
Test 'AppTestsExternalLookupTest::testCreateAsUser1' ended
Test 'AppTestsExternalLookupTest::testCreateAsUser2' started
Test 'AppTestsExternalLookupTest::testCreateAsUser2' ended
Test 'AppTestsExternalLookupTest::testPutAsUser2' started
Test 'AppTestsExternalLookupTest::testPutAsUser2' ended
Test 'AppTestsExternalLookupTest::testPatchAsUser2' started
Test 'AppTestsExternalLookupTest::testPatchAsUser2' ended
Test 'AppTestsExternalLookupVersionTest::testVersionAsUser2' started
Test 'AppTestsExternalLookupVersionTest::testVersionAsUser2' ended
Test 'AppTestsKeyFiguresFutureTest::testSrc1Endpoint' started
Test 'AppTestsKeyFiguresFutureTest::testSrc1Endpoint' ended
Test 'AppTestsKeyFiguresN8nTest::testN8nEndpoints' started
Test 'AppTestsKeyFiguresN8nTest::testN8nEndpoints' ended
Test 'AppTestsKeyFiguresSrc1Test::testGetOnSource1AsAdmin' started
Test 'AppTestsKeyFiguresSrc1Test::testGetOnSource1AsAdmin' ended
Test 'AppTestsKeyFiguresSrc1Test::testGetOnSource1AsUser1' started
Test 'AppTestsKeyFiguresSrc1Test::testGetOnSource1AsUser1' ended
Test 'AppTestsKeyFiguresSrc1Test::testGetOnSource1AsUser2' started
Test 'AppTestsKeyFiguresSrc1Test::testGetOnSource1AsUser2' ended
Test 'AppTestsKeyFiguresSrc2Test::testGetOnSource2AsAdmin' started
Test 'AppTestsKeyFiguresSrc2Test::testGetOnSource2AsAdmin' ended
Test 'AppTestsKeyFiguresSrc2Test::testGetOnSource2AsUser1' started
Test 'AppTestsKeyFiguresSrc2Test::testGetOnSource2AsUser1' ended
Test 'AppTestsKeyFiguresSrc2Test::testGetOnSource2AsUser2' started
Test 'AppTestsKeyFiguresSrc2Test::testGetOnSource2AsUser2' ended
Test 'AppTestsKeyFiguresSrc3ArchiveTest::testOnSource3AsAdmin' started
Test 'AppTestsKeyFiguresSrc3ArchiveTest::testOnSource3AsAdmin' ended
Test 'AppTestsKeyFiguresSrc3ArchiveTest::testOnSource3AsUser1' started
Test 'AppTestsKeyFiguresSrc3ArchiveTest::testOnSource3AsUser1' ended
Test 'AppTestsKeyFiguresSrc3ArchiveTest::testOnSource3AsUser3' started
Test 'AppTestsKeyFiguresSrc3ArchiveTest::testOnSource3AsUser3' ended
Test 'AppTestsKeyFiguresSrc3BatchTest::testOnSource3AsAdmin' started
Test 'AppTestsKeyFiguresSrc3BatchTest::testOnSource3AsAdmin' ended
Test 'AppTestsKeyFiguresSrc3BatchTest::testOnSource3AsAdminLdJson' started
Test 'AppTestsKeyFiguresSrc3BatchTest::testOnSource3AsAdminLdJson' ended
Test 'AppTestsKeyFiguresSrc3BatchTest::testOnSource3AsUser1' started
Test 'AppTestsKeyFiguresSrc3BatchTest::testOnSource3AsUser1' ended
Test 'AppTestsKeyFiguresSrc3BatchTest::testOnSource3AsUser3' started
Test 'AppTestsKeyFiguresSrc3BatchTest::testOnSource3AsUser3' ended
Test 'AppTestsKeyFiguresSrc3BatchTest::testOnSource3WithoutValueAsUser3' started
Test 'AppTestsKeyFiguresSrc3BatchTest::testOnSource3WithoutValueAsUser3' ended
Test 'AppTestsKeyFiguresSrc3DuplicateBatchTest::testKey' started
Test 'AppTestsKeyFiguresSrc3DuplicateBatchTest::testKey' ended
Test 'AppTestsKeyFiguresSrc3IdsTest::testKey' started
Test 'AppTestsKeyFiguresSrc3IdsTest::testKey' ended
Test 'AppTestsKeyFiguresSrc3ProviderTest::testKey' started
Test 'AppTestsKeyFiguresSrc3ProviderTest::testKey' ended
Test 'AppTestsKeyFiguresSrc3PutExtraTest::testOnSource3AsAdmin' started
Test 'AppTestsKeyFiguresSrc3PutExtraTest::testOnSource3AsAdmin' ended
Test 'AppTestsKeyFiguresSrc3PutTest::testOnSource3AsAdmin' started
Test 'AppTestsKeyFiguresSrc3PutTest::testOnSource3AsAdmin' ended
Test 'AppTestsKeyFiguresSrc3PutTest::testOnSource3AsUser1' started
Test 'AppTestsKeyFiguresSrc3PutTest::testOnSource3AsUser1' ended
Test 'AppTestsKeyFiguresSrc3PutTest::testOnSource3AsUser3' started
Test 'AppTestsKeyFiguresSrc3PutTest::testOnSource3AsUser3' ended
Test 'AppTestsKeyFiguresSrc3StringBatchTest::testOnSource3AsAdmin' started
Test 'AppTestsKeyFiguresSrc3StringBatchTest::testOnSource3AsAdmin' ended
Test 'AppTestsKeyFiguresSrc3StringBatchTest::testOnSource3AsUser1' started
Test 'AppTestsKeyFiguresSrc3StringBatchTest::testOnSource3AsUser1' ended
Test 'AppTestsKeyFiguresSrc3StringBatchTest::testOnSource3AsUser3' started
Test 'AppTestsKeyFiguresSrc3StringBatchTest::testOnSource3AsUser3' ended
Test 'AppTestsKeyFiguresSrc3StringTest::testStringData' started
Test 'AppTestsKeyFiguresSrc3StringTest::testStringData' ended
Test 'AppTestsKeyFiguresSrc3StringTest::testNumericData' started
Test 'AppTestsKeyFiguresSrc3StringTest::testNumericData' ended
Test 'AppTestsKeyFiguresTest::testGetCollectionAsAdmin' started
Test 'AppTestsKeyFiguresTest::testGetCollectionAsAdmin' ended
Test 'AppTestsKeyFiguresTest::testGetCollectionAsUser1' started
Test 'AppTestsKeyFiguresTest::testGetCollectionAsUser1' ended
Test 'AppTestsKeyFiguresTest::testGetCollectionAsUser2' started
Test 'AppTestsKeyFiguresTest::testGetCollectionAsUser2' ended
Test 'AppTestsOchaPresenceExternalIdTest::testCreateJson' started
Test 'AppTestsOchaPresenceExternalIdTest::testCreateJson' ended
Test 'AppTestsOchaPresenceExternalIdTest::testCreateLdJson' started
Test 'AppTestsOchaPresenceExternalIdTest::testCreateLdJson' ended
Test 'AppTestsOchaPresenceExternalIdTest::testCreateAsUser1' started
Test 'AppTestsOchaPresenceExternalIdTest::testCreateAsUser1' ended
Test 'AppTestsOchaPresenceTest::testCreateJson' started
Test 'AppTestsOchaPresenceTest::testCreateJson' ended
Test 'AppTestsOchaPresenceTest::testGetJson' started
Test 'AppTestsOchaPresenceTest::testGetJson' ended
Test 'AppTestsOchaPresenceTest::testCreateLdJson' started
Test 'AppTestsOchaPresenceTest::testCreateLdJson' ended
Test 'AppTestsOchaPresenceTest::testCreateAsUser1' started
Test 'AppTestsOchaPresenceTest::testCreateAsUser1' ended
Test 'AppTestsOchaPresenceTest::testPutLdJson' started
Test 'AppTestsOchaPresenceTest::testPutLdJson' ended
Test 'AppTestsOchaPresenceTest::testPatchLdJson' started
Test 'AppTestsOchaPresenceTest::testPatchLdJson' ended
Test 'AppTestsUserTest::testMeEndpoint' started
Test 'AppTestsUserTest::testMeEndpoint' ended
Test 'AppTestsUserTest::testNonExistingMeEndpoint' started
Test 'AppTestsUserTest::testNonExistingMeEndpoint' ended
Test 'AppTestsUserTest::testRegister' started
Test 'AppTestsUserTest::testRegister' ended
Test 'AppTestsUserTest::testMeEndpointPatch' started
Test 'AppTestsUserTest::testMeEndpointPatch' ended


Time: 00:10.326, Memory: 113.00 MB

OK (51 tests, 268 assertions)

Generating code coverage report in Clover XML format ... done [00:00.055]

Generating code coverage report in HTML format ... done [00:00.442]

Generating code coverage report in PHPUnit XML format ... done [00:00.999]

Remaining direct deprecation notices (3)

  2x: Since symfony/serializer 6.3: "AppSerializerHdxDenormalizer" should implement "DenormalizerInterface::getSupportedTypes(?string $format): array".
    1x in OchaPresenceExternalIdTest::testCreateJson from AppTests
    1x in OchaPresenceTest::testCreateJson from AppTests

  1x: Class "AppSerializerHdxDenormalizer" should implement method "SymfonyComponentSerializerNormalizerDenormalizerInterface::getSupportedTypes(?string $format): array".
    1x in ExternalLookupTest::testCreateJson from AppTests

Remaining indirect deprecation notices (63)

  53x: Since symfony/serializer 6.3: "AppSerializerHdxDenormalizer" should implement "DenormalizerInterface::getSupportedTypes(?string $format): array".
    4x in KeyFiguresSrc3ProviderTest::testKey from AppTests
    3x in KeyFiguresSrc3ArchiveTest::testOnSource3AsAdmin from AppTests
    2x in KeyFiguresSrc3ArchiveTest::testOnSource3AsUser1 from AppTests
    2x in KeyFiguresSrc3ArchiveTest::testOnSource3AsUser3 from AppTests
    2x in KeyFiguresSrc3BatchTest::testOnSource3AsAdmin from AppTests
    ...

  6x: Not implementing generateId in FidryAliceDataFixturesBridgeDoctrineIdGenerator is deprecated. (AbstractIdGenerator.php:64 called by BasicEntityPersister.php:283, https://github.com/doctrine/orm/pull/9325, package doctrine/orm)
    6x in ExternalLookupTest::testCreateJson from AppTests

  2x: Since symfony/framework-bundle 6.4: Option "enable_annotations" at "framework.serializer" is deprecated. Use the "enable_attributes" option instead.
    2x in ExternalLookupTest::testCreateJson from AppTests

  2x: Since symfony/framework-bundle 6.4: Not setting the "framework.handle_all_throwables" config option is deprecated. It will default to "true" in 7.0.
    2x in ExternalLookupTest::testCreateJson from AppTests

```

</details>

*Pusher: @attiks, Action: `pull_request`, Workflow: `Run tests`*

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant