Skip to content

Commit

Permalink
Fixed tests and CI
Browse files Browse the repository at this point in the history
  • Loading branch information
aschempp committed May 22, 2024
1 parent 60e81d5 commit b6466dc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
name: CI

on:
push: ~
push:
branches:
- main
pull_request: ~
# schedule:
# - cron: 0 13 * * MON,THU
Expand Down
5 changes: 4 additions & 1 deletion tests/ContaoTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,10 @@ protected function createRootPage(string $dns = '', string $language = '', bool
return $pageModel;
}

protected function createPage(int $pid = 0, int $languageMain = 0, bool $published = true): PageModel
/**
* @param int|string $pid
*/
protected function createPage($pid = 0, int $languageMain = 0, bool $published = true): PageModel
{
$pageModel = new PageModel();
$pageModel->pid = $pid;
Expand Down

0 comments on commit b6466dc

Please sign in to comment.