chore: Remove unused fields in FPL and DEP structs
The code changes remove the unused `SurveillanceEquipment` field in the `FPL` struct and the `TelegramCategory` field in the `DEP` struct. These fields are no longer needed and can be safely removed. This commit improves code cleanliness and reduces unnecessary complexity.
This commit is contained in:
@@ -13,7 +13,7 @@ var _ = Describe("DEP", func() {
|
||||
|
||||
BeforeEach(func() {
|
||||
original = DEP{
|
||||
TelegramCategory: "DEP",
|
||||
Category: "DEP",
|
||||
AircraftID: "ABCD1234",
|
||||
SSRModeAndCode: "A1234",
|
||||
DepartureAirport: "JFK",
|
||||
@@ -45,7 +45,7 @@ var _ = Describe("DEP", func() {
|
||||
|
||||
It("should fail validation for missing required fields", func() {
|
||||
invalidDEP := DEP{
|
||||
TelegramCategory: "DEP",
|
||||
Category: "DEP",
|
||||
// AircraftID is missing
|
||||
DepartureAirport: "JFK",
|
||||
DepartureTime: "150405",
|
||||
|
||||
Reference in New Issue
Block a user