Comments (4)
I think you can assert errors are in the session (error bag): docs.
Alternatively, we could use ->assertSee("some error message")
to validate that the error content has been displayed on the view. I'm not familiar enough with the project yet to say which would be the better solution.
from godot-asset-library-laravel.
@Calinou sorry for the ping, but do you also have problems with fields that uses SuccessRespondingUrl
rule
I have entered correct url pattern, it just has RequestError
cURL error 60: SSL certificate problem: unable to get local issuer certificate
this is fixed with adding 'verify' => CaBundle::getSystemCaRootBundlePath()
in the request options
from godot-asset-library-laravel.
array:4 [
"_token" => "4lA4QarzhUmVfeygN6WdCKJSD5JGspG5vOnQUjk7"
"_old_input" => array:9 [
"title" => "My Own Asset"
"blurb" => "One-line description of the asset"
"description" => "A long description…"
"tags" => "platformer, 2d, pixel-art, gdnative"
"category" => 0
"license" => "MIT"
"versions[0][version_string]" => "1.0.0"
"versions[0][godot_version]" => "3.2"
"browse_url" => "https://github.com/user/asset"
]
"_flash" => array:2 [
"new" => []
"old" => array:2 [
0 => "_old_input"
1 => "errors"
]
]
"errors" => Illuminate\Support\ViewErrorBag {#2658
#bags: array:1 [
"default" => Illuminate\Support\MessageBag {#2642
#messages: array:4 [
"category_id" => array:1 [
0 => "The category id field is required."
]
"cost" => array:1 [
0 => "The cost field is required."
]
"browse_url" => array:1 [
0 => "The repository URL doesn't seem to point to a valid page or resource."
]
"versions" => array:1 [
0 => "The versions field is required."
]
]
#format: ":message"
}
]
}
]
looks like there are fields that are required that is missing.
godot-asset-library-laravel/tests/Feature/AssetsTest.php
Lines 19 to 29 in 131b47a
from godot-asset-library-laravel.
@Demetriex I can't look at fixing unit tests right now. I'm looking at finally adding a Docker setup for development and production, which is more important currently.
from godot-asset-library-laravel.
Related Issues (20)
- Dependabot couldn't fetch the branch/reference for lorisleiva/laravel-search-string
- Dependabot couldn't fetch the branch/reference for lorisleiva/laravel-search-string
- Dependabot couldn't fetch the branch/reference for lorisleiva/laravel-search-string
- Dependabot couldn't fetch the branch/reference for lorisleiva/laravel-search-string
- Dependabot couldn't fetch the branch/reference for lorisleiva/laravel-search-string
- Dependabot couldn't fetch the branch/reference for lorisleiva/laravel-search-string
- Add download counts for assets using routes with redirection HOT 1
- Dependabot couldn't fetch the branch/reference for lorisleiva/laravel-search-string
- Dependabot couldn't fetch the branch/reference for lorisleiva/laravel-search-string
- A case for a 5 star rating system HOT 1
- Use Wilson or SteamDB score for sorting by rating instead of net score HOT 1
- Allow logged in users to add assets as favorites HOT 1
- Add a "Recently added" sorting option to complement "Recently updated"
- Searchable descriptions HOT 1
- Upgrade to Tailwind 3
- Switch to GitHub Actions for continuous integration
- Add a "maintenance status" property to assets HOT 2
- Allow third parties to bulk-add assets to the library HOT 7
- Tailwind does not rebuild on `watch` or `watch-poll` commands HOT 1
- [Question] Roadmap or help needed? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from godot-asset-library-laravel.