Skip to content

Commit

Permalink
cleanup: fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
parvit committed Oct 5, 2024
1 parent 1513c00 commit d52c26e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,7 @@ jobs:
cd ${{ github.workspace }}
7z a -tzip qpep_windows_b${{ github.run_id }}.zip ${{ github.workspace }}/installer.msi
7z a -tzip qpep_linux_b${{ github.run_id }}.zip ${{ github.workspace }}/qpep
7z a -tzip qpep_macos_b${{ github.run_id }}.zip ${{ github.workspace }}/*.pkg
7z a -tzip qpep_macos_b${{ github.run_id }}.zip ${{ github.workspace }}/*.pkg
7z a -tzip qpep_user_manual_b${{ github.run_id }}.zip ${{ github.workspace }}/user_manual.pdf
- name: Create Release
Expand Down
1 change: 1 addition & 0 deletions service/service_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ func (s *ServiceSuite) TestServiceMain_Client() {
}, nil
})
monkey.Patch(client.RunClient, func(context.Context, context.CancelFunc) {})
monkey.Patch(api.RunServer, func(context.Context, context.CancelFunc, bool) {})
monkey.Patch(gateway.SetSystemProxy, func(bool) {})

os.Args = append(os.Args[:1], "--client")
Expand Down
2 changes: 0 additions & 2 deletions workers/client/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ import (
"github.com/stretchr/testify/suite"
"math/big"
"net"
"net/url"
"runtime"
"sync"
"testing"
"time"
Expand Down

0 comments on commit d52c26e

Please sign in to comment.