mirror of
https://github.com/silverstripe/silverstripe-frameworktest
synced 2024-10-22 11:06:02 +02:00
Conditionally adding tag field tests
This commit is contained in:
parent
7f6c958914
commit
4c062448b8
@ -1,4 +1,5 @@
|
||||
<?php
|
||||
if(class_exists('TagField')) {
|
||||
class TestTag extends DataObject {
|
||||
|
||||
private static $db = array(
|
||||
@ -21,3 +22,4 @@ class TestTag extends DataObject {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -1,4 +1,5 @@
|
||||
<?php
|
||||
if(class_exists('TagField')) {
|
||||
class TestTagFieldPage extends Page {
|
||||
|
||||
private static $db = array(
|
||||
@ -36,3 +37,4 @@ class TestTagFieldPage extends Page {
|
||||
}
|
||||
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user