Skip to content

Commit 767a480

Browse files
committed
add workgroup to onboarding
1 parent c3328fa commit 767a480

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

mavis/test/fixtures/models.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ def subteam():
145145
def team(subteam, organisation) -> Team:
146146
return Team(
147147
name=subteam.name,
148+
workgroup=organisation.ods_code,
148149
careplus_venue_code=organisation.ods_code,
149150
email=subteam.email,
150151
phone=subteam.phone,

mavis/test/models.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,7 @@ def to_onboarding(self):
262262

263263
class Team(NamedTuple):
264264
name: str
265+
workgroup: str
265266
careplus_venue_code: str
266267
email: str
267268
phone: str
@@ -272,6 +273,7 @@ def __str__(self):
272273
def to_onboarding(self):
273274
return {
274275
"name": self.name,
276+
"workgroup": self.workgroup,
275277
"email": self.email,
276278
"phone": self.phone,
277279
"careplus_venue_code": self.careplus_venue_code,

0 commit comments

Comments
 (0)