This website requires JavaScript.
Explore
Help
Sign In
DRCIT
/
snipe-it
Watch
1
Star
0
Fork
You've already forked snipe-it
0
mirror of
https://github.com/snipe/snipe-it.git
synced
2024-12-26 06:04:08 -08:00
Code
Issues
Actions
11
Packages
Projects
Releases
Wiki
Activity
3da5df0127
snipe-it
/
tests
/
api
/
_bootstrap.php
4 lines
81 B
PHP
Raw
Normal View
History
Unescape
Escape
Components Assets view + stubbed API tests (#3325) * Toggles the disabled state of auto_increment_prefix To insert a prefix you had to toggle the checkbox, save the settings and reload. With this script it is immediate. Fixes #1390 * Delete asset image: made checkbox more visible Related to #3153 * Added personal-access-token component * Created basic API testing configuration * First version of /components endpoind cest * On-the-fly bearer token generation * Completed testing of PATCH and PUT methods * Added /components/{id}/assets route with tests * Updated route and dataTable in view * Completed test assertion * Added links to assets in ComponentsAssets view * Linked Company in AssetView page
2017-02-21 14:26:46 -08:00
<
?
php
Adopt Laravel coding style Shift automatically applies the Laravel coding style - which uses the PSR-2 coding style as a base with some minor additions. You may customize the adopted coding style by adding your own [PHP CS Fixer][1] `.php_cs` config file to your project root. Feel free to use [Shift's Laravel ruleset][2] to help you get started. [1]: https://github.com/FriendsOfPHP/PHP-CS-Fixer [2]: https://gist.github.com/laravel-shift/cab527923ed2a109dda047b97d53c200
2021-06-10 13:15:52 -07:00
Components Assets view + stubbed API tests (#3325) * Toggles the disabled state of auto_increment_prefix To insert a prefix you had to toggle the checkbox, save the settings and reload. With this script it is immediate. Fixes #1390 * Delete asset image: made checkbox more visible Related to #3153 * Added personal-access-token component * Created basic API testing configuration * First version of /components endpoind cest * On-the-fly bearer token generation * Completed testing of PATCH and PUT methods * Added /components/{id}/assets route with tests * Updated route and dataTable in view * Completed test assertion * Added links to assets in ComponentsAssets view * Linked Company in AssetView page
2017-02-21 14:26:46 -08:00
// Here you can initialize variables that will be available to your tests
Reference in a new issue
Copy permalink