Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
paulstonebraker committed Oct 21, 2024
1 parent a43e6fc commit 024abac
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pkg/services/order/order_fetcher_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package order

import (
"fmt"
"time"

"github.com/gofrs/uuid"
Expand Down Expand Up @@ -600,9 +599,8 @@ func (suite *OrderServiceSuite) TestListOrderWithAssignedUserSingle() {
createdMove.SCAssignedUser = &scUser
_, updateError := assignedOfficeUserUpdater.UpdateAssignedOfficeUser(appCtx, createdMove.ID, &scUser, roles.RoleTypeServicesCounselor)

searchString := fmt.Sprintf("%s, %s", scUser.LastName, scUser.FirstName)
moves, _, err := orderFetcherTest.ListOrders(suite.AppContextWithSessionForTest(&session), scUser.ID, roles.RoleTypeServicesCounselor, &services.ListOrderParams{
SCAssignedUser: &searchString,
SCAssignedUser: &scUser.LastName,
})

suite.FatalNoError(err)
Expand Down

0 comments on commit 024abac

Please sign in to comment.