Commit 3775ca9
authored
Fix message event usage in test (#1761)
Similar with #1751.
## Changes
Refactored `MessageEvent` initialization to use the builder pattern:
```java
new MessageEvent.Builder(...).build()
```
This prevents build failures when new fields are added to the
`MessageEvent` class.1 parent 394c1e4 commit 3775ca9
File tree
1 file changed
+19
-7
lines changed- spring-boot/line-bot-spring-boot-handler/src/test/java/com/linecorp/bot/spring/boot/handler/argument
1 file changed
+19
-7
lines changedLines changed: 19 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | | - | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
36 | 42 | | |
37 | | - | |
38 | | - | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
39 | 51 | | |
40 | 52 | | |
41 | 53 | | |
| |||
46 | 58 | | |
47 | 59 | | |
48 | 60 | | |
49 | | - | |
50 | | - | |
51 | | - | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
52 | 64 | | |
53 | 65 | | |
0 commit comments