From f836b0defa43d4ac04a160ec46c77d1c5967a0e3 Mon Sep 17 00:00:00 2001 From: Steven Rombauts Date: Mon, 25 Sep 2017 13:51:17 +0100 Subject: [PATCH] #35: Fix path to helloworld.php --- _travis/script.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_travis/script.sh b/_travis/script.sh index fd92860..82f350c 100644 --- a/_travis/script.sh +++ b/_travis/script.sh @@ -7,7 +7,7 @@ composer require -v --working-dir=$DOCUMENTROOT/testsite --no-interaction joomla # Verify if component file is present [ -f $DOCUMENTROOT/testsite/administrator/components/com_helloworld/helloworld.php ] && true || false -grep -q "echo 'Hello World\!'" helloworld.php && true || false +grep -q "echo 'Hello World\!'" $DOCUMENTROOT/testsite/administrator/components/com_helloworld/helloworld.php && true || false # Test if the row exists in the database COUNT=$(mysql -uroot -s -N -e "SELECT COUNT(extension_id) FROM sites_testsite.j_extensions WHERE element = 'com_helloworld';")