Private GIT

Skip to content
Snippets Groups Projects
Commit 284d401d authored by Kevin Duret's avatar Kevin Duret
Browse files

fix syntax error in acceptance tests

parent 8f300cc5
Branches
Tags
No related merge requests found
......@@ -9,7 +9,7 @@ class ContactConfigurationContext extends CentreonContext
{
private $currentPage;
private $initialProperties = (array(
private $initialProperties = array(
'name' => 'contactName',
'alias' => 'contactAlias',
'email' => 'contact@localhost',
......@@ -19,8 +19,8 @@ class ContactConfigurationContext extends CentreonContext
'dn' => 'contactDN',
'host_notification_period' => 'workhours',
'service_notification_period' => 'nonworkhours'
));
private $updatedProperties = (array(
);
private $updatedProperties = array(
'name' => 'modifiedName',
'alias' => 'modifiedAlias',
'email' => 'modified@localhost',
......@@ -28,7 +28,7 @@ class ContactConfigurationContext extends CentreonContext
'dn' => 'modifiedDn',
'host_notification_period' => 'workhours',
'service_notification_period' => 'nonworkhours'
));
);
/**
* @Given a contact
......
......@@ -9,19 +9,19 @@ class HostDuplicationCheckContext extends CentreonContext
{
private $currentPage;
private $initialProperties = (array(
private $initialProperties = array(
'name' => 'hostName',
'alias' => 'hostAlias',
'address' => 'host@localhost',
'enabled' => 1
));
);
private $updatedProperties = (array(
private $updatedProperties = array(
'name' => 'hostName_1',
'alias' => 'hostAlias',
'address' => 'host@localhost',
'enabled' => 1
));
);
/**
* @Given a host is created
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment