Skip to content

Commit f2415e8

Browse files
authored
Target TestKit branch 6.x (#644)
* Target TestKit branch 6.x * Update TestKit protocol: remove `severity` of notification
1 parent 2d9dd78 commit f2415e8

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

testkit-backend/backend.go

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1580,11 +1580,9 @@ func serializeNotifications(slice []neo4j.Notification, version db.ProtocolVersi
15801580
var res []map[string]any
15811581
for i, notification := range slice {
15821582
res = append(res, map[string]any{
1583-
"code": notification.Code(),
1584-
"title": notification.Title(),
1585-
"description": notification.Description(),
1586-
//lint:ignore SA1019 Severity is supported at least until 6.0
1587-
"severity": notification.Severity(),
1583+
"code": notification.Code(),
1584+
"title": notification.Title(),
1585+
"description": notification.Description(),
15881586
"severityLevel": string(notification.SeverityLevel()),
15891587
"rawSeverityLevel": notification.RawSeverityLevel(),
15901588
"category": string(notification.Category()),

testkit/testkit.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"testkit": {
33
"uri": "https://github.com/neo4j-drivers/testkit.git",
4-
"ref": "5.0"
4+
"ref": "6.x"
55
}
66
}

0 commit comments

Comments
 (0)