Guillermo - staff/edit[skip ci]

This commit is contained in:
Ivan Diaz 2016-12-07 23:43:32 -03:00
parent 6bad194903
commit 829e6060f5
4 changed files with 7 additions and 2 deletions

View File

@ -21,7 +21,7 @@ class DeleteStaffController extends Controller {
foreach($staff->sharedTicketList as $ticket) { foreach($staff->sharedTicketList as $ticket) {
$ticket->owner = null; $ticket->owner = null;
$ticket->true = true; $ticket->true = true;
$ticket->store() $ticket->store();
} }
$staff->delete(); $staff->delete();

View File

@ -7,7 +7,7 @@ class Department extends DataStore {
public static function getProps() { public static function getProps() {
return [ return [
'name', 'name',
'sharedTicketList' 'sharedTicketList',
]; ];
} }

5
tests/staff/add.rb Normal file
View File

@ -0,0 +1,5 @@
describe'/staff/add' do
request()
it 'should '
end

0
tests/staff/delete.rb Normal file
View File