File: /home/imensosw/www/imenso.co/dev/advanchainge/config/unittestconstants.php
<?php
//"http://infooss.com:28934";
//'portUrl'=>'http://192.168.1.35:3000',
//http://18.216.4.219
return [
'superadmin'=>[
'BusinessUnit'=>[
'code'=>'BU-002',
'description' => 'dxfhudgfkjgdfxcdfgf',
'industry' => 3,
'url'=>'/superadmin/business-units/'
],
'Company' => [
'name'=>'Test Company',
'conson_person' => "Test Person",
'email'=>'testcompany0123@gmail.com',
'address' => 'test address123',
'password' =>12345678,
'confirmpassword' => 12345678,
'description' => 'dxfhudgfkjgdfxcdfgf',
'industry' => 3,
'status' =>'active',
'url'=>'/superadmin/companies/'
]
],
'admin' => [
'UserInfo' => [
// 'companyId'=>1,
'type' => 'admin',
'status' =>'active',
'unitId' => null,
],
'Category' => [
'name' => 'testCate',
// 'parentId' => 1,
'url'=>'/setting/category/'
],
'Checklist' => [
'name' => 'testChacklist',
'url'=>'/setting/checklist/'
],
'Department' => [
'name' => 'testDepartmentsDemo',
'url'=>'/setting/departments/'
],
'Location' => [
'name' => 'testLocationsDemo',
'url'=>'/setting/locations/'
],
'Question' => [
'categoryId' => 2,
'name' => 'TestQuestionDemo12',
'extra_description'=> "test Question Demo for extra description.....",
'ratingCriteria' => 'rating',
'criticalityLevel' => 'High',
'url'=>'/setting/questions/'
],
'Region' => [
'name' => 'testRegionsDemo',
'url'=>'/setting/regions/'
],
'Units' => [
'country' => 1,
'state' => 42,
'city' => 'Indore',
'address' => '234, Scheme no. 74 Indore',
'name' =>'TestUnits11426754',
'url'=>'/setting/units/',
'locationId' => array(6),
],
'Users' =>[
'name' => 'Jacksparrow',
'email' => 'jack@gmail.com',
'role' => 5,
'password' => 12345678,
'confirmpassword' => 12345678,
'url' => '/setting/users/',
],
'General' =>[
'url' => '/setting/general/',
],
'Documents' => [
'categoryId' => 7,
'name' => 'TestGuideLineDocs',
'image' => '4481565362159.png',
'url' => '/setting/documents/',
],
'Audits' => [
'title' => 'Test to add audit0453',
'auditdate' => '08/13/2019',
'type' => 'planned',
// 'status' => 'draft',
'url' => '/audits/',
],
/*'AuditGetList' => [
'businessunit' => 1,
'unit' => 1,
'status' => '',
'search' => '',
],*/
],
'auditor' => [
'UserInfo' => [
// 'companyId'=>1,
'type' => 'auditor',
'status' =>'active',
// 'unitId' => 1,
'url' => '/auditor/',
],
'getAudits' =>[
'search' => '',
'status' => 'completed',
],
/*'getLocations' => [
// 'unitId' => 1,
// auditId
],*/
'addActionablePoint' => [
'title' => "Test actionable point 234354",
// 'actionableuser' => 1, // UserID of UnitId =1
'actionabledate' => "2019/09/17",
// 'auditsquestionid'=>5, // QuestionId
],
'getAuditReport' =>[
// 'id'=>9, // AuditId
// 'unitId'=>1,
],
],
'manager' => [
'UserInfo' => [
// 'companyId'=>1,
'type' => 'manager',
'status' =>'active',
// 'unitId' => 1,
'url' => '/manager/',
// 'auditId'=>9,
],
'getAudits' =>[
// 'businessunit' =>1,
'search' => '',
'status' => 'completed',
],
/* 'getChecklist' => [
'companyId' => 1,
'id' => 9, // AuditId
],*/
'readinesschecklistUpdate' => [
// 'readinesschecklist'=>6,
// 'id' => 9 // AuditId
],
],
]
?>