working on JsonApi tests

This commit is contained in:
El RIDO
2019-05-08 22:11:21 +02:00
parent 76dc01b959
commit 59569bf9fc
10 changed files with 128 additions and 134 deletions

View File

@@ -176,7 +176,8 @@ class Helper
public static function getPastePost()
{
$example = self::getPaste();
$example['meta'] = array('expire' => $example['meta']['expire']);
$example['adata'] = json_encode($example['adata']);
$example['meta'] = json_encode(array('expire' => $example['meta']['expire']));
return $example;
}