Skip to content

Commit

Permalink
fix testfiles dir
Browse files Browse the repository at this point in the history
  • Loading branch information
adwski committed Jan 31, 2024
1 parent 1528b94 commit 1f8910f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,5 @@ jobs:

- name: run tests
run: |
pwd
ls -al ./
ls -al testfiles
go test -v -count=1 -cover -coverpkg=./... -coverprofile=profile.cov --tags e2e ./...
go tool cover -func profile.cov
6 changes: 3 additions & 3 deletions e2e/e2e_helpers_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ func videoWatchFail(t *testing.T, userCookie *http.Cookie, v *video.Response, co
func videoUpload(t *testing.T, url string) {
t.Helper()

f, errF := os.Open("../testFiles/test_seq_h264_high.mp4")
f, errF := os.Open("../testfiles/test_seq_h264_high.mp4")
require.NoError(t, errF)

resp, err := resty.New().R().
Expand All @@ -151,7 +151,7 @@ func videoUpload(t *testing.T, url string) {
func videoUploadFail(t *testing.T, url string) {
t.Helper()

f, errF := os.Open("../testFiles/test_seq_h264_high.mp4")
f, errF := os.Open("../testfiles/test_seq_h264_high.mp4")
require.NoError(t, errF)

resp, err := resty.New().R().
Expand All @@ -165,7 +165,7 @@ func videoUploadFail(t *testing.T, url string) {
func videoUploadFailGet(t *testing.T, url string) {
t.Helper()

f, errF := os.Open("../testFiles/test_seq_h264_high.mp4")
f, errF := os.Open("../testfiles/test_seq_h264_high.mp4")
require.NoError(t, errF)

resp, err := resty.New().R().
Expand Down

0 comments on commit 1f8910f

Please sign in to comment.