Skip to content

Commit

Permalink
support multiple workflows (#7)
Browse files Browse the repository at this point in the history
* support multiple workflows

* declare variable in class Status

* test fix after update on status class
  • Loading branch information
mathildedd authored Jan 26, 2023
1 parent 7aae2d2 commit 6d3cea9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions src-dev/Tests/Unit/GcBaseTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ public static function getUniqueResponseStatus()
'position' => static::getUniqueString('position'),
'color' => static::getUniqueString('color'),
'name' => static::getUniqueString('name'),
'display_name' => static::getUniqueString('display_name'),
'description' => static::getUniqueString('description'),
'can_edit' => true,
];
Expand Down
6 changes: 6 additions & 0 deletions src/DataTypes/Status.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ class Status extends Base
*/
public $name = '';

/**
* @var string
*/
public $display_name = '';

/**
* @var string
*/
Expand All @@ -47,6 +52,7 @@ protected function initPropertyMapping()
'position' => 'position',
'color' => 'color',
'name' => 'name',
'display_name' => 'display_name',
'description' => 'description',
'can_edit' => 'canEdit',
]
Expand Down

0 comments on commit 6d3cea9

Please sign in to comment.