Skip to content

Commit

Permalink
MAIN-B-21509
Browse files Browse the repository at this point in the history
Update port_test to include updated PortType naming convention
  • Loading branch information
msaki-caci authored Nov 4, 2024
1 parent 8021f36 commit 36e3ae0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/models/port_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ func (suite *ModelSuite) TestPortValidation() {
validPort := models.Port{
ID: uuid.Must(uuid.NewV4()),
PortCode: "1234",
PortType: models.PortTypeA,
PortType: models.PortTypeAir,
PortName: "Valid port name",
CreatedAt: time.Now(),
UpdatedAt: time.Now(),
Expand All @@ -25,7 +25,7 @@ func (suite *ModelSuite) TestPortValidation() {
suite.Run("test missing required fields", func() {
invalidPort := models.Port{
ID: uuid.Must(uuid.NewV4()),
PortType: models.PortTypeA,
PortType: models.PortTypeAir,
CreatedAt: time.Now(),
UpdatedAt: time.Now(),
}
Expand Down

0 comments on commit 36e3ae0

Please sign in to comment.