Skip to content

Commit

Permalink
Added license info for test
Browse files Browse the repository at this point in the history
  • Loading branch information
Bernardo-MG committed Sep 9, 2024
1 parent b4cfce6 commit f806435
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions src/test/resources/it/bottom_nav/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,14 @@
<version>1.0.0</version>
<packaging>jar</packaging>

<licenses>
<license>
<name>MIT License</name>
<url>http://www.opensource.org/licenses/mit-license.php</url>
<distribution>repo</distribution>
</license>
</licenses>

<!-- ********************************************** -->
<!-- ********* INFRASTRUCTURE AND SERVICES ******** -->
<!-- ********************************************** -->
Expand Down
2 changes: 1 addition & 1 deletion src/test/resources/it/bottom_nav/verify.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def body = Jsoup.parse(html).body()
def footerInfo = body.select( '#footer-info' )

def copyrightInfo = footerInfo.select( 'div' ).first()
assert copyrightInfo.html().contains( 'Bernardo Martínez Garrido - Apache v2 License' )
assert copyrightInfo.html().contains( 'Bernardo Martínez Garrido - MIT License' )

def copyrightIcon = copyrightInfo.select( '.fa-copyright' )
assert copyrightIcon.size() == 1
Expand Down

0 comments on commit f806435

Please sign in to comment.