Skip to content

Commit

Permalink
fixed test: testUpdateLanesWithCards
Browse files Browse the repository at this point in the history
  • Loading branch information
jannikhuschka committed Jun 21, 2022
1 parent 7701482 commit 72b9d25
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,21 @@
as yet unclassified
testUpdateLanesWithCards

| builder lanes |
| builder lanes lane1 lane2 pasteup1 pasteup2 laneArea |
builder := SPBMockBuilder new.
lanes := SPBMockGithubBoardProvider new queryColumns.
(lanes at: 1) jsonCards: '{}' parseAsJson.
(lanes at: 2) jsonCards: '{}' parseAsJson.
builder fakeWidgets: (Dictionary newFrom: { 1234 -> '1234' . #lane1234 -> 'lane1234' . 5678 -> '5678' . #lane5678 -> 'lane5678' }).
laneArea := ScrollPane new.
lane1 := lanes first.
lane2 := lanes last.
pasteup1 := SPBPluggablePasteUpMorph new.
pasteup2 := SPBPluggablePasteUpMorph new.
lane1
jsonCards: '{}' parseAsJson;
pasteup: pasteup1.
lane2
jsonCards: '{}' parseAsJson;
pasteup: pasteup2.
builder fakeWidgets: (Dictionary newFrom: { 1234 -> pasteup1 . #lane1234 -> (lanes at: 1) . 5678 -> pasteup2 . #lane5678 -> (lanes at: 2) . #laneArea -> laneArea }).

board usedBuilder: builder.
board lanes: lanes.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"testShowLanes" : "lo 6/18/2022 13:06",
"testShowLanesButDontRebuildCards" : "lo 6/18/2022 13:06",
"testUpdateLanes" : "lo 6/18/2022 13:07",
"testUpdateLanesWithCards" : "lo 6/18/2022 13:04",
"testUpdateLanesWithCards" : "jh 6/21/2022 12:22",
"testUsedBuilder" : "jh 6/3/2022 20:32",
"testWantsAssigneeDrop" : "jh 6/3/2022 20:44",
"testWindow" : "jh 6/3/2022 20:33",
Expand Down

0 comments on commit 72b9d25

Please sign in to comment.