Skip to content

Commit

Permalink
CI: test more doctrine versions
Browse files Browse the repository at this point in the history
  • Loading branch information
dpslwk committed Jan 31, 2023
1 parent 064f140 commit c846bb4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
name: CI
on: [push, pull_request]
on:
schedule:
- cron: '0 0 * * *'
push:
pull_request:
jobs:
tests:
name: Tests
Expand All @@ -8,7 +12,7 @@ jobs:
matrix:
os: [ubuntu-latest]
php: ['8.0', '8.1', '8.2']
doctrine: ['2.11']
doctrine: ['2.11', '2.12', '2.13', '2.14']
steps:
- uses: actions/checkout@v3
- name: Setup PHP
Expand Down
3 changes: 3 additions & 0 deletions tests/EntityManagerFactoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -1050,6 +1050,9 @@ protected function mockORMConfiguration()
$this->configuration->shouldReceive('setDefaultRepositoryClassName')
->once()
->with('Repo');

$this->configuration->shouldReceive('isLazyGhostObjectEnabled')
->andReturn(false);
}

protected function enableLaravelNamingStrategy()
Expand Down

0 comments on commit c846bb4

Please sign in to comment.