Skip to content

Commit

Permalink
Fix unit tests (#415)
Browse files Browse the repository at this point in the history
* Remove config from php.yml

* Fix deprecation warning
  • Loading branch information
dgarciabriseno authored Sep 24, 2024
1 parent 2b4837d commit e4ab435
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
11 changes: 0 additions & 11 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,6 @@ jobs:
wget https://raw.githubusercontent.com/Helioviewer-Project/helioviewer.org-docker/main/compose.yaml
wget https://raw.githubusercontent.com/Helioviewer-Project/helioviewer.org-docker/main/.env.example
mv .env.example .env
# The containers need to be able update config files
- name: Make writeable config files
run: |
touch install/settings/settings.cfg
chmod o+rw install/settings/settings.cfg
touch settings/Config.ini
chmod o+rw settings/Config.ini
touch settings/Config.php
chmod o+rw settings/Config.php
# Start up api service (test environment)
- name: Start services
# --no-build to force it to use whatever is published in the registry
Expand Down
3 changes: 0 additions & 3 deletions src/Helper/SunPy.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,7 @@
require_once HV_ROOT_DIR.'/../src/Helper/SciScript.php';

class Helper_SunPy extends Helper_SciScript {

function __construct($params, $roi=null) {
$this->_localPath = '~/';

parent::__construct($params, $roi);
}

Expand Down

0 comments on commit e4ab435

Please sign in to comment.