ToJSON: serialize string_columns to JSON
If the column is undefined, then it should be an empty string according to your API spec.
This commit is contained in:
@ -25,11 +25,11 @@ my $projectinfo = request(GET '/project/tests',
|
||||
|
||||
ok($projectinfo->is_success);
|
||||
is(decode_json($projectinfo->content), {
|
||||
description => undef,
|
||||
description => "",
|
||||
displayname => "",
|
||||
enabled => JSON::true,
|
||||
hidden => JSON::false,
|
||||
homepage => undef,
|
||||
homepage => "",
|
||||
jobsets => [],
|
||||
name => "tests",
|
||||
owner => "root"
|
||||
|
Reference in New Issue
Block a user