Commit d30ca90
committed
Fix Consent entity and integration test
Entity fix:
- Make 'attribute' column nullable: true so doctrine:schema:create
generates a nullable column. CI uses schema:create, not migrations.
storeConsentHash only sets attribute_stable, not attribute, causing
SQLSTATE 1364 without this fix.
Test fix:
- Rename class EngineBlock_Corto_Model_Consent_Integration_Test to
ConsentIntegrationTest to match filename (PHPUnit warning)
- Make consentTypeProvider() static (PHPUnit deprecation)1 parent 1d88d30 commit d30ca90
2 files changed
Lines changed: 3 additions & 3 deletions
File tree
- src/OpenConext/EngineBlockBundle/Authentication/Entity
- tests/library/EngineBlock/Test/Corto/Model
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
235 | 235 | | |
236 | 236 | | |
237 | 237 | | |
238 | | - | |
| 238 | + | |
239 | 239 | | |
240 | 240 | | |
241 | 241 | | |
| |||
0 commit comments