function definitionProvider() {
$fixtures['empty-defn'] = array(
'json' => json_encode(array()),
- 'xml' => '<?xml version="1.0" encoding="iso-8859-1" ?>
+ 'xml' => '<?xml version="1.0" encoding="utf-8" ?>
<CaseType>
<name>Housing Support</name>
</CaseType>
'activityTypes' => array(),
'caseRoles' => array(),
)),
- 'xml' => '<?xml version="1.0" encoding="iso-8859-1" ?>
+ 'xml' => '<?xml version="1.0" encoding="utf-8" ?>
<CaseType>
<name>Housing Support</name>
<ActivityTypes></ActivityTypes>
$fixtures['one-item-in-each'] = array(
'json' => json_encode(array(
'activityTypes' => array(
- array('name' => 'First act'),
+ array('name' => 'First act (foréign éxamplé)'),
),
'activitySets' => array(
array(
array('name' => 'First role', 'creator' => 1, 'manager' => 1),
),
)),
- 'xml' => '<?xml version="1.0" encoding="iso-8859-1" ?>
+ 'xml' => '<?xml version="1.0" encoding="utf-8" ?>
<CaseType>
<name>Housing Support</name>
<ActivityTypes>
<ActivityType>
- <name>First act</name>
+ <name>First act (foréign éxamplé)</name>
</ActivityType>
</ActivityTypes>
<ActivitySets>
array('name' => 'Second role'),
),
)),
- 'xml' => '<?xml version="1.0" encoding="iso-8859-1" ?>
+ 'xml' => '<?xml version="1.0" encoding="utf-8" ?>
<CaseType>
<name>Housing Support</name>
<ActivityTypes>
'json' => json_encode(array(
'forkable' => 0,
)),
- 'xml' => '<?xml version="1.0" encoding="iso-8859-1" ?>
+ 'xml' => '<?xml version="1.0" encoding="utf-8" ?>
<CaseType>
<name>Housing Support</name>
<forkable>0</forkable>
'json' => json_encode(array(
'forkable' => 1,
)),
- 'xml' => '<?xml version="1.0" encoding="iso-8859-1" ?>
+ 'xml' => '<?xml version="1.0" encoding="utf-8" ?>
<CaseType>
<name>Housing Support</name>
<forkable>1</forkable>
)
);
}
-}
\ No newline at end of file
+}