Skip to content

Commit

Permalink
#153 Activate lint again, trying to fix problem
Browse files Browse the repository at this point in the history
  • Loading branch information
j3nsch committed Jan 17, 2023
1 parent c36c8d9 commit d6734a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
run: export MYSQL_PWD=root && mysql --default-character-set=utf8 -h 'localhost' -P '3306' -u 'root' -v -e "CREATE DATABASE IF NOT EXISTS opusdb DEFAULT CHARACTER SET = UTF8 DEFAULT COLLATE = UTF8_GENERAL_CI; CREATE USER 'opus4admin'@'localhost' IDENTIFIED WITH mysql_native_password BY 'root'; GRANT ALL PRIVILEGES ON opusdb.* TO 'opus4admin'@'localhost'; CREATE USER 'opus4'@'localhost' IDENTIFIED WITH mysql_native_password BY 'root'; GRANT SELECT,INSERT,UPDATE,DELETE ON opusdb.* TO 'opus4'@'localhost'; FLUSH PRIVILEGES;"

- name: Prepare
run: ant prepare-workspace prepare-test-workspace prepare-config reset-testdata -DdbUserPassword=root -DdbAdminPassword=root
run: ant prepare-workspace prepare-test-workspace prepare-config lint reset-testdata -DdbUserPassword=root -DdbAdminPassword=root

- name: Mail-Server
run: php scripts/opus-smtp-dumpserver.php 2>&1 >> tests/workspace/log/opus-smtp-dumpserver.log &
Expand Down
1 change: 1 addition & 0 deletions tests/library/Application/View/Helper/MessagesTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ public function testMessagesMultiple()
$helper->setView($view);

$messages = [];
// TODO BUG the following line causes job fails on GitHub when 'php -l' (lint check) is performed
$messages[] = ['message' => 'validation_error_int', 'level' => 'error'];
$messages[] = ['message' => 'Just a test!', 'level' => 'info'];
$messages[] = ['message' => 'Without level.'];
Expand Down

0 comments on commit d6734a3

Please sign in to comment.