add optional 'assignee' to Issue
This commit is contained in:
parent
400e0ca26f
commit
645062d10c
4 changed files with 21 additions and 0 deletions
|
|
@ -102,6 +102,7 @@ mod tests {
|
|||
.with_timezone(&chrono::Local),
|
||||
state: crate::issue::State::InProgress,
|
||||
dependencies: None,
|
||||
assignee: Some(String::from("beep boop")),
|
||||
description: String::from("minimal"),
|
||||
comments: Vec::<crate::comment::Comment>::new(),
|
||||
dir,
|
||||
|
|
@ -120,6 +121,7 @@ mod tests {
|
|||
.with_timezone(&chrono::Local),
|
||||
state: crate::issue::State::New,
|
||||
dependencies: None,
|
||||
assignee: None,
|
||||
description: String::from("this is the title of my issue\n\nThis is the description of my issue.\nIt is multiple lines.\n* Arbitrary contents\n* But let's use markdown by convention\n"),
|
||||
comments: Vec::<crate::comment::Comment>::new(),
|
||||
dir,
|
||||
|
|
@ -147,6 +149,7 @@ mod tests {
|
|||
.with_timezone(&chrono::Local),
|
||||
state: crate::issue::State::Done,
|
||||
dependencies: None,
|
||||
assignee: None,
|
||||
description: String::from("oh yeah we got titles"),
|
||||
comments: Vec::<crate::comment::Comment>::new(),
|
||||
dir,
|
||||
|
|
@ -179,6 +182,7 @@ mod tests {
|
|||
.with_timezone(&chrono::Local),
|
||||
state: crate::issue::State::WontDo,
|
||||
dependencies: None,
|
||||
assignee: None,
|
||||
description: String::from("issues out the wazoo\n\nLots of words\nthat don't say much\nbecause this is just\na test\n"),
|
||||
comments: expected_comments,
|
||||
dir,
|
||||
|
|
@ -206,6 +210,7 @@ mod tests {
|
|||
.with_timezone(&chrono::Local),
|
||||
state: crate::issue::State::Done,
|
||||
dependencies: None,
|
||||
assignee: None,
|
||||
description: String::from("oh yeah we got titles\n"),
|
||||
comments: Vec::<crate::comment::Comment>::new(),
|
||||
dir,
|
||||
|
|
@ -224,6 +229,7 @@ mod tests {
|
|||
.with_timezone(&chrono::Local),
|
||||
state: crate::issue::State::WontDo,
|
||||
dependencies: None,
|
||||
assignee: None,
|
||||
description: String::from("issues out the wazoo\n\nLots of words\nthat don't say much\nbecause this is just\na test\n"),
|
||||
comments: Vec::<crate::comment::Comment>::new(),
|
||||
dir,
|
||||
|
|
@ -245,6 +251,7 @@ mod tests {
|
|||
crate::issue::IssueHandle::from("3fa5bfd93317ad25772680071d5ac3259cd2384f"),
|
||||
crate::issue::IssueHandle::from("dd79c8cfb8beeacd0460429944b4ecbe95a31561"),
|
||||
]),
|
||||
assignee: None,
|
||||
description: String::from("issue with dependencies\n\na test has begun\nfor dependencies we seek\nintertwining life"),
|
||||
comments: Vec::<crate::comment::Comment>::new(),
|
||||
dir,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue