mirror of
https://github.com/nullthoughts/laravel-data-sync.git
synced 2026-01-26 11:44:11 +00:00
Updater class tests
This commit is contained in:
3
tests/test-data/invalid-json/invalid.json
Normal file
3
tests/test-data/invalid-json/invalid.json
Normal file
@@ -0,0 +1,3 @@
|
||||
[
|
||||
|
||||
]
|
||||
5
tests/test-data/no-criteria/no-criteria.json
Normal file
5
tests/test-data/no-criteria/no-criteria.json
Normal file
@@ -0,0 +1,5 @@
|
||||
[
|
||||
{
|
||||
"string": "update-student-records"
|
||||
}
|
||||
]
|
||||
9
tests/test-data/relationship/roles.json
Normal file
9
tests/test-data/relationship/roles.json
Normal file
@@ -0,0 +1,9 @@
|
||||
[
|
||||
{
|
||||
"_slug": "update-student-records",
|
||||
"category": "testing",
|
||||
"supervisor": {
|
||||
"name": "CEO"
|
||||
}
|
||||
}
|
||||
]
|
||||
@@ -1,11 +1,14 @@
|
||||
[
|
||||
{
|
||||
"_slug": "update-student-records"
|
||||
"_slug": "update-student-records",
|
||||
"category": "testing"
|
||||
},
|
||||
{
|
||||
"_slug": "borrow-ferrari"
|
||||
"_slug": "borrow-ferrari",
|
||||
"category": "cars"
|
||||
},
|
||||
{
|
||||
"_slug": "destroy-ferrari"
|
||||
"_slug": "destroy-ferrari",
|
||||
"category": "cars"
|
||||
}
|
||||
]
|
||||
14
tests/test-data/valid/roles.json
Normal file
14
tests/test-data/valid/roles.json
Normal file
@@ -0,0 +1,14 @@
|
||||
[
|
||||
{
|
||||
"_slug": "update-student-records",
|
||||
"category": "changed"
|
||||
},
|
||||
{
|
||||
"_slug": "borrow-ferrari",
|
||||
"category": "changed"
|
||||
},
|
||||
{
|
||||
"_slug": "destroy-ferrari",
|
||||
"category": "changed"
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user