Skip to content

Commit ee0980d

Browse files
committed
Fixate the table names of fixtures.
Fixating the table names removes inflections which cause issues when applications apply alternate inflections. Refs #406
1 parent 9b0388a commit ee0980d

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

tests/Fixture/PanelsFixture.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,15 @@
2121
*/
2222
class PanelsFixture extends TestFixture
2323
{
24+
/**
25+
* table property
26+
*
27+
* This is necessary to prevent userland inflections from causing issues.
28+
*
29+
* @var string
30+
*/
31+
public $table = 'panels';
32+
2433
/**
2534
* fields property
2635
*

tests/Fixture/RequestsFixture.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,15 @@
2121
*/
2222
class RequestsFixture extends TestFixture
2323
{
24+
/**
25+
* table property
26+
*
27+
* This is necessary to prevent userland inflections from causing issues.
28+
*
29+
* @var string
30+
*/
31+
public $table = 'requests';
32+
2433
/**
2534
* fields property
2635
*

0 commit comments

Comments
 (0)