Nafies Luthfi
91ad06ac5e
Move test stubs to stubs/testcases directory
In previous version, test cases are ignored by .gitattributes
file. In line 9, we have specified tests directory will be ignored
by packagist. Then packagist evidently also excludes
"src/stubs/tests" directory which contains test cases stubs.
In this commit, we change test stub directory, so packagist
wont excludes the test stubs anymore.
8 years ago
Nafies Luthfi
f66a692c8c
Move tests stubs to stubs/tests directory
8 years ago
Nafies Luthfi
d475f1ace7
Change trans() helper usage to __()
8 years ago
Nafies Luthfi
28889f2e42
Change nameLink method to name_link attribute
8 years ago
Nafies Luthfi
79225ff7e4
Remove id attribute call on model unit test
Laravel will automatically recognize the route key
name attribute for the model, so we dont need to
specify the id attribute on the named route call
8 years ago
Nafies Luthfi
72713e74f6
Add creator relation on created model
Add creator_id on model table migration file
Update controller to add auth()->id() as model creator
8 years ago
Nafies Luthfi
68bce39cd9
Add nameLink method on generated model
8 years ago
Nafies Luthfi
9461ec1537
Update Unit model and policy test case to extends browserkit testcase
8 years ago
Nafies Luthfi
15fa99dce8
Add full model name modelNames attribute on CrudMake
8 years ago
Nafies Luthfi
e3d0ae0b19
Support for two-words model name
8 years ago
Nafies Luthfi
241a19a7b8
Fix invalid entity names on stub files
8 years ago
Nafies Luthfi
054998254c
Add a model test
8 years ago
Nafies Luthfi
b98fcf3b14
Fix model unit test content
8 years ago
Nafies Luthfi
4a5515c8d2
Set correct controller and feature test stub
8 years ago
Nafies Luthfi
dccc38c777
Change dummy entity string to keyword : master
8 years ago
Nafies Luthfi
0922923b35
Fixed unit test generator
8 years ago
Nafies Luthfi
5061ef6c13
Refactor CrudMake Command class and added test stubs
8 years ago