Samuel Štancl
8e664b1ba1
refactor helpers for creating tenants
2022-11-03 14:36:01 +01:00
2bb26c9f28
grammar, code style
2022-11-03 14:16:33 +01:00
Abrar Ahmad
2cc40e0b81
self review
2022-11-03 11:13:49 +05:00
Abrar Ahmad
7acd312cbc
remove different schema setup
2022-11-03 11:02:48 +05:00
Abrar Ahmad
a67b5b1f88
update comments
2022-10-17 11:24:22 +05:00
Abrar Ahmad
93efa56f59
Update ResourceSyncingTest.php
2022-10-13 17:31:18 +05:00
Abrar Ahmad
99f853451b
methods dockblocks and correct names
2022-10-13 17:29:43 +05:00
e1fa543723
add comments above new tests
2022-10-12 19:16:03 +02:00
Abrar Ahmad
134cb291ea
code style
2022-10-04 14:18:48 +05:00
Abrar Ahmad
0170ccc391
better names
2022-10-03 14:10:00 +05:00
Abrar Ahmad
e6efa9f58a
Update ResourceSyncingTest.php
2022-10-03 14:03:22 +05:00
Abrar Ahmad
8ecbe26b6d
improve tests
2022-10-03 13:49:06 +05:00
Abrar Ahmad
cb73936d71
wip
2022-09-30 18:34:43 +05:00
Samuel Štancl
c62dc0f0f3
code improvements
2022-09-29 17:01:27 +02:00
Abrar Ahmad
8aea33c0f2
add test
2022-09-29 16:11:08 +05:00
Abrar Ahmad
e1229ef446
allow defining a mix of attribute names and default values
2022-09-28 13:38:01 +05:00
Abrar Ahmad
5b34b0283a
Update ResourceSyncingTest.php
2022-09-28 11:32:11 +05:00
Abrar Ahmad
0d3ac1f206
Update ResourceSyncingTest.php
2022-09-12 11:16:11 +05:00
Abrar Ahmad
b17882fcf8
method rename
2022-09-12 11:10:12 +05:00
Abrar Ahmad
4245f46bc1
method rename
2022-09-02 18:01:59 +05:00
Abrar Ahmad
5aa8231c81
Merge branch 'master' into resource-syncing
2022-08-30 13:05:28 +05:00
Abrar Ahmad
aaffc1d6b0
Update ResourceSyncingTest.php
2022-08-30 12:35:22 +05:00
Abrar Ahmad
d22224c945
merge default values with sync attributes and tests
2022-08-30 12:29:52 +05:00
Samuel Štancl
8af354c20e
get phpstan errors down from 252 to 189
2022-08-30 05:44:23 +02:00
Abrar Ahmad
62c9516ec1
Update ResourceSyncingTest.php
2022-08-29 13:16:00 +05:00
Abrar Ahmad
eef51f40b9
classes at the end
2022-08-29 12:34:24 +05:00
Abrar Ahmad
55d858b601
assert that creation attributes returns null
2022-08-29 12:16:34 +05:00
Samuel Štancl
40bf28c7d0
general refactor, move more classes under Database namespace
2022-08-27 03:17:16 +02:00
Abrar Ahmad
6ffa3d2b55
wip
2022-08-16 15:59:52 +05:00
Abrar Ahmad
f02aa1a6f2
wip
2022-08-16 15:50:22 +05:00
Abrar Ahmad
3e514461ca
wip
2022-08-16 15:27:34 +05:00
Abrar Ahmad
e756b54b31
Update ResourceSyncingTest.php
2022-08-10 13:42:48 +05:00
Abrar Ahmad
3bba3bd3de
Update ResourceSyncingTest.php
2022-08-10 13:41:14 +05:00
Abrar Ahmad
ea21291b3e
update comment
2022-08-10 13:13:54 +05:00
Abrar Ahmad
5ba92859e4
Update ResourceSyncingTest.php
2022-08-10 13:09:13 +05:00
Abrar Ahmad
69a44335f7
Update ResourceSyncingTest.php
2022-08-10 13:06:37 +05:00
Abrar Ahmad
724ed5a502
Revert "improve comments, move method to SyncMaster interface"
...
This reverts commit 5ddd50deb9 .
2022-08-10 13:03:17 +05:00
Abrar Ahmad
5ddd50deb9
improve comments, move method to SyncMaster interface
2022-08-10 12:56:16 +05:00
Abrar Ahmad
818026eaaa
Update tests/ResourceSyncingTest.php
...
Co-authored-by: Samuel Štancl <samuel@archte.ch>
2022-08-10 12:05:56 +05:00
Abrar Ahmad
3951680a98
comments
2022-08-09 10:19:53 +05:00
Abrar Ahmad
2409746449
Update ResourceSyncingTest.php
2022-08-08 17:21:30 +05:00
Abrar Ahmad
c109d27a9f
Update ResourceSyncingTest.php
2022-08-08 17:06:17 +05:00
Abrar Ahmad
b90fb6ec77
configure attributes for creating resource
2022-08-08 16:55:27 +05:00
Samuel Štancl
f9c9d8615f
Refactor tests to use pest() helper
2022-07-23 01:16:50 +02:00
Samuel Štancl
b47c5549ef
[4.x] Migrate tests to Pest ( #884 )
...
* Add Pest dependencies
* Add base Pest file
* Convert test cases
* Remove non-compound imports
* Adopt expectation API
* Optimize uses
* Shift cleanup
* phpunit -> pest
* Fix tests in PR #884 PHPUnit to Pest Converter (#885 )
* fixed tests, remove method duplications, restore necessary inner classes
* Update CommandsTest.php
* temporary checks run on `shift-64622` on branch.
* fixed `TestSeeder` class not resolved
* fixed messed up names
* removed `uses` from individual files and add it in `Pest`
* extract tests to helpers
* use pest dataset
* Update AutomaticModeTest.php
* newline
* todo convention
* resolve reviews
* added `// todo@tests`
* remove shift branch from CI workflow
Co-authored-by: Samuel Štancl <samuel@archte.ch>
* check if I have write permission
* Convert newly added tests to Pest
Co-authored-by: Shift <shift@laravelshift.com>
Co-authored-by: Abrar Ahmad <abrar.dev99@gmail.com>
2022-07-22 19:26:59 +02:00
Abrar Ahmad
97ab483173
Completing PR #881 ( #902 )
...
* install PHP CS Fixer
* Fix styling
* remove StyleCI config
* use config from archtechx/template
* Fix styling
* added `php-cs-fixer`
* Update .php-cs-fixer.php
* added GitHub token
* Update ci.yml
* Update ci.yml
* Update ci.yml
* php-cs-fixer workflow same as template
Co-authored-by: Erik Gaal <me@erikgaal.nl>
Co-authored-by: erikgaal <erikgaal@users.noreply.github.com>
2022-07-20 15:28:45 +02:00
Samuel Štancl
e93e766f92
Remove unnecessary typehints
2020-06-08 21:35:41 +02:00
Samuel Štancl
6735d0a589
Switch to using MySQL for tests, resolve FK constraint issues
2020-06-07 10:28:55 +02:00
Samuel Štancl
da23662d7b
Clenup for resource syncing
2020-06-01 09:51:22 +02:00
stancl
6955512a6b
Apply fixes from StyleCI
2020-05-22 09:01:31 +00:00