Updated Presentation Delete Method
updated test for presentaion delete method Change-Id: I57834226eb073a5956452857390a6eda9c7b1369
This commit is contained in:
parent
1af87b2353
commit
85e4529a4b
@ -117,7 +117,7 @@ class Presentation extends SummitEvent
|
||||
private $moderator;
|
||||
|
||||
/**
|
||||
* @ORM\OneToMany(targetEntity="models\summit\PresentationMaterial", mappedBy="presentation", cascade={"persist"}, orphanRemoval=true)
|
||||
* @ORM\OneToMany(targetEntity="models\summit\PresentationMaterial", mappedBy="presentation", cascade={"persist", "remove"}, orphanRemoval=true)
|
||||
* @var PresentationMaterial[]
|
||||
*/
|
||||
private $materials;
|
||||
@ -137,7 +137,7 @@ class Presentation extends SummitEvent
|
||||
private $speakers;
|
||||
|
||||
/**
|
||||
* @ORM\OneToMany(targetEntity="models\summit\SummitSelectedPresentation", mappedBy="presentation", cascade={"persist"}, orphanRemoval=true)
|
||||
* @ORM\OneToMany(targetEntity="models\summit\SummitSelectedPresentation", mappedBy="presentation", cascade={"persist", "remove"}, orphanRemoval=true)
|
||||
* @var SummitSelectedPresentation[]
|
||||
*/
|
||||
private $selected_presentations;
|
||||
|
@ -29,3 +29,7 @@ run following commands on root folder
|
||||
## Permissions
|
||||
|
||||
Laravel may require some permissions to be configured: folders within storage and vendor require write access by the web server.
|
||||
|
||||
## check SS schema
|
||||
|
||||
php artisan doctrine:schema:create --sql --em=ss > ss.sql
|
File diff suppressed because it is too large
Load Diff
1120
tests/OAuth2SummitEventsApiTest.php
Normal file
1120
tests/OAuth2SummitEventsApiTest.php
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user