Commit ae0c3c13 authored by François Agneray's avatar François Agneray

Fixed unit tests for dataset property public

parent 0f40f1b5
......@@ -228,6 +228,7 @@ final class AttributeActionTest extends TestCase
$dataset->setCount(10000);
$dataset->setVo(false);
$dataset->setDataPath('/mnt/obs_cat');
$dataset->setPublic(true);
$dataset->setProject($project);
$dataset->setDatasetFamily($family);
$this->entityManager->persist($dataset);
......
......@@ -132,6 +132,7 @@ final class AttributeListActionTest extends TestCase
$dataset->setCount(10000);
$dataset->setVo(false);
$dataset->setDataPath('/mnt/obs_cat');
$dataset->setPublic(true);
$dataset->setProject($project);
$dataset->setDatasetFamily($family);
$this->entityManager->persist($dataset);
......
......@@ -178,6 +178,7 @@ final class CriteriaFamilyActionTest extends TestCase
$dataset->setCount(10000);
$dataset->setVo(false);
$dataset->setDataPath('/mnt/obs_cat');
$dataset->setPublic(true);
$dataset->setProject($project);
$dataset->setDatasetFamily($family);
$this->entityManager->persist($dataset);
......
......@@ -179,6 +179,7 @@ final class CriteriaFamilyListActionTest extends TestCase
$dataset->setCount(10000);
$dataset->setVo(false);
$dataset->setDataPath('/mnt/obs_cat');
$dataset->setPublic(true);
$dataset->setProject($project);
$dataset->setDatasetFamily($family);
$this->entityManager->persist($dataset);
......
......@@ -135,6 +135,7 @@ final class DatasetActionTest extends TestCase
'vo' => false,
'data_path' => '/mnt/dataset1',
'config' => '{}',
'public' => true,
'id_dataset_family' => 1
);
}
......@@ -198,6 +199,7 @@ final class DatasetActionTest extends TestCase
$dataset->setCount(10000);
$dataset->setVo(false);
$dataset->setDataPath('/mnt/obs_cat');
$dataset->setPublic(true);
$dataset->setProject($project);
$dataset->setDatasetFamily($family);
$this->entityManager->persist($dataset);
......
......@@ -126,6 +126,7 @@ final class DatasetListActionTest extends TestCase
'vo' => false,
'data_path' => '/mnt/dataset1',
'config' => '{}',
'public' => true,
'project_name' => 'anis_project',
'id_dataset_family' => 1
);
......@@ -190,6 +191,7 @@ final class DatasetListActionTest extends TestCase
$dataset1->setCount(10000);
$dataset1->setVo(false);
$dataset1->setDataPath('/mnt/dataset1');
$dataset1->setPublic(true);
$dataset1->setProject($project);
$dataset1->setDatasetFamily($family);
$this->entityManager->persist($dataset1);
......@@ -202,6 +204,7 @@ final class DatasetListActionTest extends TestCase
$dataset2->setCount(5000);
$dataset2->setVo(false);
$dataset2->setDataPath('/mnt/dataset2');
$dataset2->setPublic(true);
$dataset2->setProject($project);
$dataset2->setDatasetFamily($family);
$this->entityManager->persist($dataset2);
......
......@@ -130,6 +130,7 @@ final class DatasetListByInstanceActionTest extends TestCase
$dataset->setCount(10000);
$dataset->setVo(false);
$dataset->setDataPath('/mnt/obs_cat');
$dataset->setPublic(true);
$dataset->setProject($project);
$dataset->setDatasetFamily($family);
$this->entityManager->persist($dataset);
......@@ -142,6 +143,7 @@ final class DatasetListByInstanceActionTest extends TestCase
$dataset2->setCount(5000);
$dataset2->setVo(false);
$dataset2->setDataPath('/mnt/observations');
$dataset2->setPublic(true);
$dataset2->setProject($project);
$dataset2->setDatasetFamily($family);
$this->entityManager->persist($dataset2);
......
......@@ -197,6 +197,7 @@ final class OutputCategoryActionTest extends TestCase
$dataset->setCount(10000);
$dataset->setVo(false);
$dataset->setDataPath('/mnt/obs_cat');
$dataset->setPublic(true);
$dataset->setProject($project);
$dataset->setDatasetFamily($family);
$this->entityManager->persist($dataset);
......
......@@ -173,6 +173,7 @@ final class OutputCategoryListActionTest extends TestCase
$dataset->setCount(10000);
$dataset->setVo(false);
$dataset->setDataPath('/mnt/obs_cat');
$dataset->setPublic(true);
$dataset->setProject($project);
$dataset->setDatasetFamily($family);
$this->entityManager->persist($dataset);
......
......@@ -147,6 +147,7 @@ final class OutputCategoryListByDatasetActionTest extends TestCase
$dataset->setCount(10000);
$dataset->setVo(false);
$dataset->setDataPath('/mnt/obs_cat');
$dataset->setPublic(true);
$dataset->setProject($project);
$dataset->setDatasetFamily($family);
$this->entityManager->persist($dataset);
......
......@@ -178,6 +178,7 @@ final class OutputFamilyActionTest extends TestCase
$dataset->setCount(10000);
$dataset->setVo(false);
$dataset->setDataPath('/mnt/obs_cat');
$dataset->setPublic(true);
$dataset->setProject($project);
$dataset->setDatasetFamily($family);
$this->entityManager->persist($dataset);
......
......@@ -179,6 +179,7 @@ final class OutputFamilyListActionTest extends TestCase
$dataset->setCount(10000);
$dataset->setVo(false);
$dataset->setDataPath('/mnt/obs_cat');
$dataset->setPublic(true);
$dataset->setProject($project);
$dataset->setDatasetFamily($family);
$this->entityManager->persist($dataset);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment