mirror of
https://github.com/archtechx/virtualcolumn.git
synced 2025-12-12 08:04:04 +00:00
Rename generateColumnName
This commit is contained in:
parent
5881f13b81
commit
73d7918170
2 changed files with 3 additions and 3 deletions
|
|
@ -101,8 +101,8 @@ class VirtualColumnTest extends TestCase
|
|||
'foo' => $virtualColumnName
|
||||
]);
|
||||
|
||||
$this->assertSame($customColumnName, $model->generateColumnName('custom1'));
|
||||
$this->assertSame($virtualColumnName, $model->generateColumnName('foo'));
|
||||
$this->assertSame($customColumnName, $model->getColumnForQuery('custom1'));
|
||||
$this->assertSame($virtualColumnName, $model->getColumnForQuery('foo'));
|
||||
}
|
||||
|
||||
// maybe add an explicit test that the saving() and updating() listeners don't run twice?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue