Code Monkey home page Code Monkey logo

Comments (6)

welcome avatar welcome commented on May 22, 2024

Thanks for opening your first issue here! 🎉 Be sure to follow the issue template!

from fiber-go-template.

koddr avatar koddr commented on May 22, 2024

Hi,

Are you sure what DB on your side is up? Could you please check this again before run tests?

from fiber-go-template.

stale avatar stale commented on May 22, 2024

👋 Hello. Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
Thank you for your contributions.

from fiber-go-template.

gaby avatar gaby commented on May 22, 2024

@koddr @rickhlx I get a different error:

go test -v -timeout 30s -coverprofile=cover.out -cover ./...
?   	github.com/create-go-app/fiber-go-template	[no test files]
?   	github.com/create-go-app/fiber-go-template/app/controllers	[no test files]
?   	github.com/create-go-app/fiber-go-template/app/models	[no test files]
?   	github.com/create-go-app/fiber-go-template/app/queries	[no test files]
?   	github.com/create-go-app/fiber-go-template/pkg/configs	[no test files]
?   	github.com/create-go-app/fiber-go-template/pkg/middleware	[no test files]
?   	github.com/create-go-app/fiber-go-template/docs	[no test files]
?   	github.com/create-go-app/fiber-go-template/pkg/repository	[no test files]
?   	github.com/create-go-app/fiber-go-template/pkg/utils	[no test files]
?   	github.com/create-go-app/fiber-go-template/platform/cache	[no test files]
?   	github.com/create-go-app/fiber-go-template/platform/database	[no test files]
=== RUN   TestPrivateRoutes
    private_routes_test.go:108: 
        	Error Trace:	/home/ubuntu/Desktop/git/fix/fiber-go-template/pkg/routes/private_routes_test.go:108
        	Error:      	Not equal: 
        	            	expected: 400
        	            	actual  : 401
        	Test:       	TestPrivateRoutes
        	Messages:   	delete book without JWT and body
    private_routes_test.go:108: 
        	Error Trace:	/home/ubuntu/Desktop/git/fix/fiber-go-template/pkg/routes/private_routes_test.go:108
        	Error:      	Not equal: 
        	            	expected: 404
        	            	actual  : 500
        	Test:       	TestPrivateRoutes
        	Messages:   	delete book with credentials
--- FAIL: TestPrivateRoutes (0.04s)

Both Redis and Postgres are running

from fiber-go-template.

stale avatar stale commented on May 22, 2024

👋 Hello. Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
Thank you for your contributions.

from fiber-go-template.

Dhruv-Garg79 avatar Dhruv-Garg79 commented on May 22, 2024

I am facing the same issue, any update on this?

from fiber-go-template.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.