FOSSology  4.4.0
Open Source License Compliance by Open Source Software
Fossology\UI\Api\Test\Models\ApiVersionTest Class Reference
Inheritance diagram for Fossology\UI\Api\Test\Models\ApiVersionTest:
Inheritance graph
Collaboration diagram for Fossology\UI\Api\Test\Models\ApiVersionTest:
Collaboration graph

Public Member Functions

 testGetVersionReturnsSetVersion ()
 
 testGetVersionReturnsDefaultVersion ()
 

Detailed Description

Definition at line 19 of file ApiVersionTest.php.

Member Function Documentation

◆ testGetVersionReturnsDefaultVersion()

Fossology\UI\Api\Test\Models\ApiVersionTest::testGetVersionReturnsDefaultVersion ( )

Test that getVersion returns the default version (V1) when ATTRIBUTE_NAME is not set.

Definition at line 37 of file ApiVersionTest.php.

◆ testGetVersionReturnsSetVersion()

Fossology\UI\Api\Test\Models\ApiVersionTest::testGetVersionReturnsSetVersion ( )

Test that getVersion returns the correct version when ATTRIBUTE_NAME is set.

Definition at line 24 of file ApiVersionTest.php.


The documentation for this class was generated from the following file: