-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Extending project code to avoid collisions with legacy QBiC project c…
…odes (#643) The legacy project codes are of length 5, so the data manager should not create codes that might be confused with legacy codes. The most simple solution also discussed with project management is to extend the prefix from "Q" to "Q2". --------- Co-authored-by: wow-such-code <[email protected]>
- Loading branch information
1 parent
484b79a
commit 502753b
Showing
5 changed files
with
30 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,7 +32,7 @@ class ProjectCreationServiceSpec extends Specification { | |
|
||
|
||
Result<Project, ApplicationException> resultWithExperimentalDesign = projectCreationServiceWithStubs.createProject( | ||
"source offer", "QABCD", | ||
"source offer", "Q2ABCD", | ||
null, | ||
"objective", | ||
personReference, | ||
|
@@ -50,7 +50,7 @@ class ProjectCreationServiceSpec extends Specification { | |
def contact = new Contact("Mustermann", "[email protected]ü") | ||
|
||
when: "create is called without a project manager" | ||
Result<Project, ApplicationException> result = projectCreationServiceWithStubs.createProject("source offer", "QABCD", | ||
Result<Project, ApplicationException> result = projectCreationServiceWithStubs.createProject("source offer", "Q2ABCD", | ||
"my title", | ||
"objective", | ||
contact, | ||
|
@@ -88,7 +88,7 @@ class ProjectCreationServiceSpec extends Specification { | |
def contact = new Contact("Mustermann", "[email protected]ü") | ||
|
||
when: "create is called without a project manager" | ||
Result<Project, ApplicationException> result = projectCreationServiceWithStubs.createProject("source offer", "QABCD", | ||
Result<Project, ApplicationException> result = projectCreationServiceWithStubs.createProject("source offer", "Q2ABCD", | ||
"my title", | ||
"objective", | ||
contact, | ||
|
@@ -108,7 +108,7 @@ class ProjectCreationServiceSpec extends Specification { | |
def contact = new Contact("Mustermann", "[email protected]ü") | ||
|
||
when: "a project is created with a non-empty title" | ||
Result<Project, ApplicationException> result = projectCreationServiceWithStubs.createProject("source offer", "QABCD", | ||
Result<Project, ApplicationException> result = projectCreationServiceWithStubs.createProject("source offer", "Q2ABCD", | ||
"my title", | ||
"objective", | ||
contact, | ||
|
@@ -126,7 +126,7 @@ class ProjectCreationServiceSpec extends Specification { | |
def contact = new Contact("Mustermann", "[email protected]ü") | ||
|
||
when: | ||
Result<Project, ApplicationException> result = projectCreationServiceWithStubs.createProject("source offer", "QABCD", | ||
Result<Project, ApplicationException> result = projectCreationServiceWithStubs.createProject("source offer", "Q2ABCD", | ||
"my title", | ||
"objective", | ||
contact, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters