mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-15 00:54:41 +00:00
cleanup previous
This commit is contained in:
parent
4cf79c9263
commit
ea639d6c8c
@ -44,14 +44,6 @@ class ModelRelationFieldTest extends Field_Framework_TestCase
|
||||
{
|
||||
FactoryDefault::getDefault()->get('config')->globals->config_path = __DIR__ .'/ModelRelationFieldTest/';
|
||||
Config::getInstance()->forceReload();
|
||||
$model = new \tests\OPNsense\Base\BaseModel\TestModel();
|
||||
foreach ($model->simpleList->items->iterateItems() as $nodeid => $node) {
|
||||
echo $nodeid . " " .$node->number ."\n";
|
||||
}
|
||||
// $item = $model->simpleList->items->Add();
|
||||
// $item->number = "1";
|
||||
// $model->serializeToConfig();
|
||||
// Config::getInstance()->save();
|
||||
}
|
||||
|
||||
/**
|
||||
@ -124,7 +116,6 @@ class ModelRelationFieldTest extends Field_Framework_TestCase
|
||||
$this->assertEquals($this->validate($field), ['CsvListValidator']);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* type is not a container
|
||||
*/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user