snipe
|
b716f9f55e
|
Merge pull request #12916 from snipe/features/auto_add_to_fieldset
Added ability to auto-add fields to new fieldsets
|
2023-05-03 11:04:33 -07:00 |
|
Marcus Moore
|
f7d2b62d87
|
Improve method name
|
2023-05-01 16:06:28 -07:00 |
|
Marcus Moore
|
da08f6ef8c
|
Add InteractsWithSettings trait to required tests
|
2023-05-01 16:05:26 -07:00 |
|
Marcus Moore
|
6d594faae7
|
Clear the settings cache on app destruction
|
2023-05-01 16:04:43 -07:00 |
|
snipe
|
970b5e556c
|
Merge pull request #12903 from marcusmoore/bug/sc-15034
Fixes sending webhook notifications for checkout and checkin
|
2023-04-25 22:22:58 -07:00 |
|
snipe
|
27477085fe
|
Merge branch 'develop' into features/auto_add_to_fieldset
|
2023-04-25 21:31:50 -07:00 |
|
snipe
|
4a063d23b9
|
We don’t actually use this test?
Signed-off-by: snipe <snipe@snipe.net>
|
2023-04-25 19:36:52 -07:00 |
|
Marcus Moore
|
a528ebeab0
|
Use superuser instead of admin state
|
2023-04-25 11:53:47 -07:00 |
|
Marcus Moore
|
2aba8252f3
|
Ensure users editing themselves do not deactivate their account
|
2023-04-20 21:59:55 -07:00 |
|
Marcus Moore
|
c357d9f01e
|
Update data provider name
|
2023-04-19 18:10:23 -07:00 |
|
Marcus Moore
|
bad2eead4c
|
Remove test method
|
2023-04-18 13:13:57 -07:00 |
|
Marcus Moore
|
508660b1df
|
Skip notifications for component checkouts and checkins
|
2023-04-18 13:07:55 -07:00 |
|
Marcus Moore
|
f6cff90829
|
Migrate to new test settings interface
|
2023-04-17 17:31:12 -07:00 |
|
Marcus Moore
|
2d56675ade
|
Merge branch 'develop' into bug/sc-15034
# Conflicts:
# database/factories/SettingFactory.php
|
2023-04-17 17:22:55 -07:00 |
|
Marcus Moore
|
473241edca
|
Move initialization of settings to trait
|
2023-04-13 16:52:20 -07:00 |
|
Marcus Moore
|
7c95e45178
|
Introduce trait to conditionally interact with settings
|
2023-04-12 17:28:47 -07:00 |
|
Marcus Moore
|
cd0796ddda
|
Allow Settings to be chainable
|
2023-04-06 18:46:29 -07:00 |
|
Marcus Moore
|
9561b66613
|
Add return types and docblock
|
2023-04-06 17:58:53 -07:00 |
|
Marcus Moore
|
95f195046d
|
Move cache flush to testing helper
|
2023-04-06 17:50:24 -07:00 |
|
Marcus Moore
|
52c733b31d
|
Add ability to set provided settings
|
2023-04-06 17:48:23 -07:00 |
|
Marcus Moore
|
8ac4d3aeea
|
Move to a static constructor
|
2023-04-06 17:42:15 -07:00 |
|
Marcus Moore
|
bbfb6c338a
|
Remove unused method
|
2023-04-06 17:28:16 -07:00 |
|
Marcus Moore
|
f767cc082f
|
Introduce improved way to interact with settings in tests
|
2023-04-06 17:27:18 -07:00 |
|
Marcus Moore
|
5b4d5cadf4
|
Add tests for sending webhooks on asset and license seat checkin
|
2023-04-05 12:57:53 -07:00 |
|
Marcus Moore
|
3cc3662992
|
Send webhook notifications for accessory checkins when enabled
|
2023-04-05 12:36:24 -07:00 |
|
Marcus Moore
|
2187310abb
|
Simplify test case names
|
2023-04-05 12:27:18 -07:00 |
|
Marcus Moore
|
b41902976b
|
Improve test class names
|
2023-04-05 12:23:11 -07:00 |
|
Marcus Moore
|
524249d4d7
|
Implement tests for webhook notifications on accessory checkout
|
2023-03-30 16:58:16 -07:00 |
|
Marcus Moore
|
b2292db3c8
|
Implement tests for webhook notifications on consumable checkout
|
2023-03-30 16:40:53 -07:00 |
|
Marcus Moore
|
aefc53cfcf
|
Explicitly disable webhook settings in tests
|
2023-03-30 16:40:21 -07:00 |
|
Marcus Moore
|
134ab631d4
|
Add test to ensure notification is not sent for license checkouts if not enabled
|
2023-03-30 15:38:22 -07:00 |
|
Marcus Moore
|
158e1544cd
|
Test the event instead of the checkout
|
2023-03-30 15:38:00 -07:00 |
|
Marcus Moore
|
2cbc6276f7
|
Implement test for license checkout notification
|
2023-03-27 14:09:31 -07:00 |
|
Marcus Moore
|
fa69a580ab
|
Start to scaffold license checkout notification test
|
2023-03-23 17:18:33 -07:00 |
|
Marcus Moore
|
25e859c866
|
Simplify test case
|
2023-03-23 16:42:21 -07:00 |
|
Marcus Moore
|
2dcf4e3d16
|
Standardize on sending anonymous notifications for asset checkouts
|
2023-03-23 16:31:40 -07:00 |
|
Marcus Moore
|
b396f2bed3
|
Update test case names
|
2023-03-22 12:41:30 -07:00 |
|
Marcus Moore
|
28ced46b9d
|
Clean up test code
|
2023-03-22 12:38:14 -07:00 |
|
Marcus Moore
|
66224765ea
|
Use factory state for webhook settings
|
2023-03-22 12:31:47 -07:00 |
|
Marcus Moore
|
9c4a3ce56a
|
Update slack_endpoint to webhook_endpoint in test and notification
|
2023-03-22 12:27:36 -07:00 |
|
Marcus Moore
|
f6d0dd0f93
|
Merge branch 'develop' into bug/sc-15034
|
2023-03-22 11:58:47 -07:00 |
|
Marcus Moore
|
e303aeadd1
|
Fix test name
|
2023-03-22 11:56:54 -07:00 |
|
Marcus Moore
|
315f5231cd
|
Send slack notification for check outs to assets and locations
|
2023-03-21 17:03:51 -07:00 |
|
Marcus Moore
|
918239961a
|
Add simple test case for assets
|
2023-03-20 15:47:57 -07:00 |
|
Marcus Moore
|
272cc1adac
|
Skip creating user when creating a setting since it isn't needed
|
2023-03-20 15:33:40 -07:00 |
|
Marcus Moore
|
16e3416225
|
Update test case
|
2023-03-20 14:27:45 -07:00 |
|
Marcus Moore
|
099ec3f550
|
Remove creation of category within category factory state
|
2023-03-13 16:45:43 -07:00 |
|
Marcus Moore
|
2813b7ea58
|
Scaffold tests for slack notification on checkout
|
2023-03-13 15:47:50 -07:00 |
|
Marcus Moore
|
dd9c00195b
|
Remove old $tester variable and usused imports
|
2023-03-07 17:04:46 -08:00 |
|
Marcus Moore
|
43ff7261b2
|
Remove redundant base test case
|
2023-03-07 16:57:55 -08:00 |
|
Marcus Moore
|
8c13a4c5c9
|
Use LazilyRefreshDatabase instead of RefreshDatabase
|
2023-03-07 16:43:18 -08:00 |
|
Marcus Moore
|
8fad377114
|
Remove helper methods by inlining where needed
|
2023-03-07 10:28:33 -08:00 |
|
Marcus Moore
|
a3c8c3757a
|
Remove unused method
|
2023-03-06 17:50:44 -08:00 |
|
Marcus Moore
|
bc54144284
|
Fix test by passing proper user
|
2023-03-06 12:40:47 -08:00 |
|
Marcus Moore
|
e8da6d8bac
|
Set purchase date in correct format
|
2023-03-02 13:47:58 -08:00 |
|
Marcus Moore
|
45d7e9b134
|
Switch to using LazilyRefreshDatabase in unit test suite
|
2023-03-02 13:13:30 -08:00 |
|
Marcus Moore
|
75fc624ec6
|
Globally disable SecurityHeaders in tests
|
2023-03-02 13:12:25 -08:00 |
|
Marcus Moore
|
589a5d0d8b
|
Merge branch 'develop' into fix/test-suite
|
2023-02-28 09:48:48 -08:00 |
|
snipe
|
eb6357636a
|
Merge pull request #12467 from marcusmoore/fix/scope-people-with-full-multiple-companies
Fix full company scoping in user selects
|
2023-02-23 10:36:33 -08:00 |
|
Marcus Moore
|
4f9ebf6cde
|
Fix array key
|
2023-02-07 16:40:27 -08:00 |
|
Marcus Moore
|
787f619a6b
|
Standardize test method syntax
|
2023-02-07 16:28:40 -08:00 |
|
Marcus Moore
|
505ca48da2
|
Remove test method without assertions
|
2023-02-07 16:17:36 -08:00 |
|
Marcus Moore
|
6b8c0f9e88
|
Make BaseTest abstract
|
2023-02-07 16:17:16 -08:00 |
|
Marcus Moore
|
6dbcec2310
|
Exclude Dusk tests from phpunit test suite
|
2023-02-07 16:16:39 -08:00 |
|
Marcus Moore
|
c03079944a
|
Be more explicit in test case
|
2023-02-06 16:06:13 -08:00 |
|
Marcus Moore
|
9a0c66bd30
|
Clear some extra lines
|
2023-02-02 18:30:18 -08:00 |
|
Marcus Moore
|
d8e92d29c0
|
Improve readability
|
2023-02-02 18:25:54 -08:00 |
|
Marcus Moore
|
93a62c87c2
|
Implement test for searching users
|
2023-02-02 17:57:24 -08:00 |
|
Marcus Moore
|
89eff23e44
|
Continue implementing tests
|
2023-02-02 17:41:32 -08:00 |
|
Marcus Moore
|
a2e47d19fc
|
Scaffold tests for user select list api and begin to implemenet
|
2023-02-02 13:47:00 -08:00 |
|
Marcus Moore
|
bc0f666906
|
Create Setting in test to avoid being redirected to the setup screen
|
2023-01-10 17:03:09 -08:00 |
|
Marcus Moore
|
581655f756
|
Run database migrations for all Dusk tests
|
2023-01-10 17:02:11 -08:00 |
|
Chris Hartjes
|
07585809b3
|
Got unit and browser tests working, added documentation
|
2022-08-12 13:00:26 -04:00 |
|
snipe
|
e7541f29d2
|
Use php artisan serve url
Signed-off-by: snipe <snipe@snipe.net>
|
2022-01-18 14:50:24 -08:00 |
|
snipe
|
66ed311914
|
Fixed asset maintenances test
Signed-off-by: snipe <snipe@snipe.net>
|
2021-12-02 20:14:39 -08:00 |
|
snipe
|
f334bf1058
|
Fixed notification tests
Signed-off-by: snipe <snipe@snipe.net>
|
2021-12-02 20:01:03 -08:00 |
|
snipe
|
0104f35f31
|
Fixed Component Test, commented Consumables
Signed-off-by: snipe <snipe@snipe.net>
|
2021-12-02 19:43:15 -08:00 |
|
snipe
|
222ee8e0bf
|
Slight refactor on depreciation test
Signed-off-by: snipe <snipe@snipe.net>
|
2021-12-02 19:36:07 -08:00 |
|
snipe
|
0e3bafd5b4
|
Fixed depreciation tests
Signed-off-by: snipe <snipe@snipe.net>
|
2021-12-02 19:19:42 -08:00 |
|
snipe
|
17bc562ac4
|
Commented out broken permissions and importer tests for now
Signed-off-by: snipe <snipe@snipe.net>
|
2021-12-02 19:19:35 -08:00 |
|
snipe
|
1e46fde5e2
|
Fixed status labels tests
Signed-off-by: snipe <snipe@snipe.net>
|
2021-12-02 19:01:57 -08:00 |
|
snipe
|
872bd29cb3
|
Removed repetitive tests
Signed-off-by: snipe <snipe@snipe.net>
|
2021-12-02 18:27:52 -08:00 |
|
snipe
|
21e2504f79
|
Trying unsuccessfully to get nested factories working
Signed-off-by: snipe <snipe@snipe.net>
|
2021-12-02 17:38:28 -08:00 |
|
snipe
|
5a01fff79c
|
Use the Setting model for basetest
Signed-off-by: snipe <snipe@snipe.net>
|
2021-12-02 17:37:51 -08:00 |
|
snipe
|
390e8a6cc3
|
Fixed company unit test
Signed-off-by: snipe <snipe@snipe.net>
|
2021-12-02 16:43:03 -08:00 |
|
snipe
|
b0d2fc787a
|
Fixed accessory test
Signed-off-by: snipe <snipe@snipe.net>
|
2021-12-02 16:33:16 -08:00 |
|
snipe
|
35ba28bff9
|
Continuing to refactor tests
Signed-off-by: snipe <snipe@snipe.net>
|
2021-12-02 16:14:45 -08:00 |
|
snipe
|
c2709be4a1
|
Removed pointless tests
Signed-off-by: snipe <snipe@snipe.net>
|
2021-12-02 16:14:23 -08:00 |
|
snipe
|
c949a1f5f2
|
renamed Tests to tests
|
2021-12-02 15:08:26 -08:00 |
|
snipe
|
5555553307
|
renamed again for git to accept case
|
2021-12-02 14:02:16 -08:00 |
|
snipe
|
00b63fe7c7
|
Fixed category factory methods
Signed-off-by: snipe <snipe@snipe.net>
|
2021-12-02 13:40:16 -08:00 |
|
snipe
|
ed2797afdd
|
Small fixes
Signed-off-by: snipe <snipe@snipe.net>
|
2021-12-01 23:33:20 -08:00 |
|
snipe
|
17bd6d71e7
|
Fixed location unit test
Signed-off-by: snipe <snipe@snipe.net>
|
2021-12-01 22:45:39 -08:00 |
|
snipe
|
bc355e1f26
|
Remve unused use Hash statements
Signed-off-by: snipe <snipe@snipe.net>
|
2021-11-30 20:47:02 -08:00 |
|
snipe
|
d8234d5a0b
|
Trying to unfuck the TestCase
A lot has changed between versions
Signed-off-by: snipe <snipe@snipe.net>
|
2021-11-30 20:46:44 -08:00 |
|
snipe
|
e73373a75a
|
Removed empty tests
Signed-off-by: snipe <snipe@snipe.net>
|
2021-11-30 20:45:42 -08:00 |
|
snipe
|
d08c1787a1
|
First steps at getting dusk working
Signed-off-by: snipe <snipe@snipe.net>
|
2021-11-30 20:09:29 -08:00 |
|
snipe
|
61f16f47a2
|
Use Helper alias
Signed-off-by: snipe <snipe@snipe.net>
|
2021-09-28 19:44:55 -07:00 |
|
Laravel Shift
|
b62d1f49e4
|
Shift cleanup
|
2021-06-10 20:19:27 +00:00 |
|
Laravel Shift
|
8b82262777
|
Shift return type of base TestCase methods
From the [PHPUnit 8 release notes][1], the `TestCase` methods below now declare a `void` return type:
- `setUpBeforeClass()`
- `setUp()`
- `assertPreConditions()`
- `assertPostConditions()`
- `tearDown()`
- `tearDownAfterClass()`
- `onNotSuccessfulTest()`
[1]: https://phpunit.de/announcements/phpunit-8.html
|
2021-06-10 20:18:12 +00:00 |
|