File tree Expand file tree Collapse file tree 7 files changed +9
-9
lines changed
Expand file tree Collapse file tree 7 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 66 "strconv"
77
88 "github.com/brianvoe/gofakeit/v7"
9- "github.com/paqstd-team/fake-cli/config"
10- "github.com/paqstd-team/fake-cli/handler"
9+ "github.com/paqstd-team/fake-cli/v2/ config"
10+ "github.com/paqstd-team/fake-cli/v2/ handler"
1111)
1212
1313// Run constructs the HTTP server using the provided config path and port.
Original file line number Diff line number Diff line change 1- module github.com/paqstd-team/fake-cli
1+ module github.com/paqstd-team/fake-cli/v2
22
33go 1.25
44
Original file line number Diff line number Diff line change 66 "net/http/httptest"
77 "testing"
88
9- "github.com/paqstd-team/fake-cli/config"
9+ "github.com/paqstd-team/fake-cli/v2/ config"
1010)
1111
1212func TestData_GenerateFields (t * testing.T ) {
Original file line number Diff line number Diff line change 77 "net/http"
88
99 "github.com/gorilla/mux"
10- "github.com/paqstd-team/fake-cli/cache"
11- "github.com/paqstd-team/fake-cli/config"
10+ "github.com/paqstd-team/fake-cli/v2/ cache"
11+ "github.com/paqstd-team/fake-cli/v2/ config"
1212)
1313
1414// JSONMarshal is used to marshal response data. It is a variable to allow tests
Original file line number Diff line number Diff line change 99 "strings"
1010 "testing"
1111
12- "github.com/paqstd-team/fake-cli/config"
12+ "github.com/paqstd-team/fake-cli/v2/ config"
1313)
1414
1515func TestHandler_HTTPMethods (t * testing.T ) {
Original file line number Diff line number Diff line change 77 "net/url"
88 "testing"
99
10- "github.com/paqstd-team/fake-cli/config"
10+ "github.com/paqstd-team/fake-cli/v2/ config"
1111)
1212
1313func TestPagination_Parameters (t * testing.T ) {
Original file line number Diff line number Diff line change 66 "os"
77 "strconv"
88
9- "github.com/paqstd-team/fake-cli/app"
9+ "github.com/paqstd-team/fake-cli/v2/ app"
1010)
1111
1212func main () {
You can’t perform that action at this time.
0 commit comments