2021-12-19 15:57:24 +01:00
<!DOCTYPE html>
< html lang = "en" >
< head >
< meta charset = "UTF-8" >
2023-09-06 17:24:53 +02:00
< title > Code Coverage for /home/jeremy/projets/crm/app/Providers/AuthServiceProvider.php< / title >
2021-12-19 15:57:24 +01:00
< meta name = "viewport" content = "width=device-width, initial-scale=1.0" >
2023-09-06 17:24:53 +02:00
< link href = "../../_css/bootstrap.min.css?v=10.1.7" rel = "stylesheet" type = "text/css" >
< link href = "../../_css/octicons.css?v=10.1.7" rel = "stylesheet" type = "text/css" >
< link href = "../../_css/style.css?v=10.1.7" rel = "stylesheet" type = "text/css" >
2021-12-19 15:57:24 +01:00
< link href = "../../_css/custom.css" rel = "stylesheet" type = "text/css" >
< / head >
< body >
< header >
< div class = "container-fluid" >
< div class = "row" >
< div class = "col-md-12" >
< nav aria-label = "breadcrumb" >
< ol class = "breadcrumb" >
2023-09-06 17:24:53 +02:00
< li class = "breadcrumb-item" > < a href = "../../index.html" > /home/jeremy/projets/crm< / a > < / li >
2021-12-19 15:57:24 +01:00
< li class = "breadcrumb-item" > < a href = "../index.html" > app< / a > < / li >
< li class = "breadcrumb-item" > < a href = "index.html" > Providers< / a > < / li >
< li class = "breadcrumb-item active" > AuthServiceProvider.php< / li >
< / ol >
< / nav >
< / div >
< / div >
< / div >
< / header >
< div class = "container-fluid" >
< div class = "table-responsive" >
< table class = "table table-bordered" >
< thead >
< tr >
< td > < / td >
< td colspan = "10" > < div align = "center" > < strong > Code Coverage< / strong > < / div > < / td >
< / tr >
< tr >
< td > < / td >
< td colspan = "3" > < div align = "center" > < strong > Lines< / strong > < / div > < / td >
2023-09-06 17:24:53 +02:00
< td colspan = "4" > < div align = "center" > < strong > Functions and Methods< / strong > < / div > < / td >
< td colspan = "3" > < div align = "center" > < strong > Classes and Traits< / strong > < / div > < / td >
2021-12-19 15:57:24 +01:00
< / tr >
< / thead >
< tbody >
< tr >
< td class = "success" > Total< / td >
< td class = "success big" > < div class = "progress" >
2023-10-06 15:00:42 +02:00
< div class = "progress-bar bg-success" role = "progressbar" aria-valuenow = "95.00" aria-valuemin = "0" aria-valuemax = "100" style = "width: 95.00%" >
< span class = "sr-only" > 95.00% covered (success)< / span >
2021-12-19 15:57:24 +01:00
< / div >
< / div >
< / td >
2023-10-06 15:00:42 +02:00
< td class = "success small" > < div align = "right" > 95.00%< / div > < / td >
< td class = "success small" > < div align = "right" > 19 / 20< / div > < / td >
< td class = "danger big" > < div class = "progress" >
< div class = "progress-bar bg-danger" role = "progressbar" aria-valuenow = "0.00" aria-valuemin = "0" aria-valuemax = "100" style = "width: 0.00%" >
< span class = "sr-only" > 0.00% covered (danger)< / span >
2021-12-19 15:57:24 +01:00
< / div >
< / div >
< / td >
2023-10-06 15:00:42 +02:00
< td class = "danger small" > < div align = "right" > 0.00%< / div > < / td >
< td class = "danger small" > < div align = "right" > 0 / 1< / div > < / td >
< td class = "danger small" > < abbr title = "Change Risk Anti-Patterns (CRAP) Index" > CRAP< / abbr > < / td >
< td class = "danger big" > < div class = "progress" >
< div class = "progress-bar bg-danger" role = "progressbar" aria-valuenow = "0.00" aria-valuemin = "0" aria-valuemax = "100" style = "width: 0.00%" >
< span class = "sr-only" > 0.00% covered (danger)< / span >
2021-12-19 15:57:24 +01:00
< / div >
< / div >
< / td >
2023-10-06 15:00:42 +02:00
< td class = "danger small" > < div align = "right" > 0.00%< / div > < / td >
< td class = "danger small" > < div align = "right" > 0 / 1< / div > < / td >
2021-12-19 15:57:24 +01:00
< / tr >
< tr >
< td class = "success" > < abbr title = "App\Providers\AuthServiceProvider" > AuthServiceProvider< / abbr > < / td >
< td class = "success big" > < div class = "progress" >
2023-10-06 15:00:42 +02:00
< div class = "progress-bar bg-success" role = "progressbar" aria-valuenow = "95.00" aria-valuemin = "0" aria-valuemax = "100" style = "width: 95.00%" >
< span class = "sr-only" > 95.00% covered (success)< / span >
2021-12-19 15:57:24 +01:00
< / div >
< / div >
< / td >
2023-10-06 15:00:42 +02:00
< td class = "success small" > < div align = "right" > 95.00%< / div > < / td >
< td class = "success small" > < div align = "right" > 19 / 20< / div > < / td >
< td class = "danger big" > < div class = "progress" >
< div class = "progress-bar bg-danger" role = "progressbar" aria-valuenow = "0.00" aria-valuemin = "0" aria-valuemax = "100" style = "width: 0.00%" >
< span class = "sr-only" > 0.00% covered (danger)< / span >
2021-12-19 15:57:24 +01:00
< / div >
< / div >
< / td >
2023-10-06 15:00:42 +02:00
< td class = "danger small" > < div align = "right" > 0.00%< / div > < / td >
< td class = "danger small" > < div align = "right" > 0 / 1< / div > < / td >
< td class = "danger small" > 5< / td >
< td class = "danger big" > < div class = "progress" >
< div class = "progress-bar bg-danger" role = "progressbar" aria-valuenow = "0.00" aria-valuemin = "0" aria-valuemax = "100" style = "width: 0.00%" >
< span class = "sr-only" > 0.00% covered (danger)< / span >
2021-12-19 15:57:24 +01:00
< / div >
< / div >
< / td >
2023-10-06 15:00:42 +02:00
< td class = "danger small" > < div align = "right" > 0.00%< / div > < / td >
< td class = "danger small" > < div align = "right" > 0 / 1< / div > < / td >
2021-12-19 15:57:24 +01:00
< / tr >
< tr >
2023-10-06 15:00:42 +02:00
< td class = "success" > < a href = "#29" > < abbr title = "boot(): void" > boot< / abbr > < / a > < / td >
2021-12-19 15:57:24 +01:00
< td class = "success big" > < div class = "progress" >
2023-10-06 15:00:42 +02:00
< div class = "progress-bar bg-success" role = "progressbar" aria-valuenow = "95.00" aria-valuemin = "0" aria-valuemax = "100" style = "width: 95.00%" >
< span class = "sr-only" > 95.00% covered (success)< / span >
2021-12-19 15:57:24 +01:00
< / div >
< / div >
< / td >
2023-10-06 15:00:42 +02:00
< td class = "success small" > < div align = "right" > 95.00%< / div > < / td >
< td class = "success small" > < div align = "right" > 19 / 20< / div > < / td >
< td class = "danger big" > < div class = "progress" >
< div class = "progress-bar bg-danger" role = "progressbar" aria-valuenow = "0.00" aria-valuemin = "0" aria-valuemax = "100" style = "width: 0.00%" >
< span class = "sr-only" > 0.00% covered (danger)< / span >
2021-12-19 15:57:24 +01:00
< / div >
< / div >
< / td >
2023-10-06 15:00:42 +02:00
< td class = "danger small" > < div align = "right" > 0.00%< / div > < / td >
< td class = "danger small" > < div align = "right" > 0 / 1< / div > < / td >
< td class = "danger small" > 5< / td >
< td class = "danger" colspan = "3" > < / td >
2021-12-19 15:57:24 +01:00
< / tr >
< / tbody >
< / table >
< / div >
< table id = "code" class = "table table-borderless table-condensed" >
< tbody >
< tr class = " d-flex" > < td class = "col-1 text-right" > < a id = "1" href = "#1" > 1< / a > < / td > < td class = "col-11 codeLine" > < span class = "default" > < ?php< / span > < / td > < / tr >
< tr class = " d-flex" > < td class = "col-1 text-right" > < a id = "2" href = "#2" > 2< / a > < / td > < td class = "col-11 codeLine" > < / td > < / tr >
2023-09-06 17:24:53 +02:00
< tr class = " d-flex" > < td class = "col-1 text-right" > < a id = "3" href = "#3" > 3< / a > < / td > < td class = "col-11 codeLine" > < span class = "keyword" > namespace< / span > < span class = "default" > < / span > < span class = "default" > App\Providers< / span > < span class = "keyword" > ;< / span > < / td > < / tr >
2021-12-19 15:57:24 +01:00
< tr class = " d-flex" > < td class = "col-1 text-right" > < a id = "4" href = "#4" > 4< / a > < / td > < td class = "col-11 codeLine" > < / td > < / tr >
2023-10-06 15:00:42 +02:00
< tr class = " d-flex" > < td class = "col-1 text-right" > < a id = "5" href = "#5" > 5< / a > < / td > < td class = "col-11 codeLine" > < span class = "keyword" > use< / span > < span class = "default" > < / span > < span class = "default" > App\Enums\Users\RoleEnum< / span > < span class = "keyword" > ;< / span > < / td > < / tr >
< tr class = " d-flex" > < td class = "col-1 text-right" > < a id = "6" href = "#6" > 6< / a > < / td > < td class = "col-11 codeLine" > < span class = "keyword" > use< / span > < span class = "default" > < / span > < span class = "default" > App\Lib\Helper< / span > < span class = "keyword" > ;< / span > < / td > < / tr >
< tr class = " d-flex" > < td class = "col-1 text-right" > < a id = "7" href = "#7" > 7< / a > < / td > < td class = "col-11 codeLine" > < span class = "keyword" > use< / span > < span class = "default" > < / span > < span class = "default" > App\Models\Service< / span > < span class = "keyword" > ;< / span > < / td > < / tr >
< tr class = " d-flex" > < td class = "col-1 text-right" > < a id = "8" href = "#8" > 8< / a > < / td > < td class = "col-11 codeLine" > < span class = "keyword" > use< / span > < span class = "default" > < / span > < span class = "default" > App\Models\User< / span > < span class = "keyword" > ;< / span > < / td > < / tr >
< tr class = " d-flex" > < td class = "col-1 text-right" > < a id = "9" href = "#9" > 9< / a > < / td > < td class = "col-11 codeLine" > < span class = "keyword" > use< / span > < span class = "default" > < / span > < span class = "default" > Illuminate\Database\Eloquent\ModelNotFoundException< / span > < span class = "keyword" > ;< / span > < / td > < / tr >
< tr class = " d-flex" > < td class = "col-1 text-right" > < a id = "10" href = "#10" > 10< / a > < / td > < td class = "col-11 codeLine" > < span class = "keyword" > use< / span > < span class = "default" > < / span > < span class = "default" > Illuminate\Foundation\Support\Providers\AuthServiceProvider< / span > < span class = "default" > < / span > < span class = "keyword" > as< / span > < span class = "default" > < / span > < span class = "default" > ServiceProvider< / span > < span class = "keyword" > ;< / span > < / td > < / tr >
< tr class = " d-flex" > < td class = "col-1 text-right" > < a id = "11" href = "#11" > 11< / a > < / td > < td class = "col-11 codeLine" > < span class = "keyword" > use< / span > < span class = "default" > < / span > < span class = "default" > Illuminate\Http\Request< / span > < span class = "keyword" > ;< / span > < / td > < / tr >
< tr class = " d-flex" > < td class = "col-1 text-right" > < a id = "12" href = "#12" > 12< / a > < / td > < td class = "col-11 codeLine" > < span class = "keyword" > use< / span > < span class = "default" > < / span > < span class = "default" > Illuminate\Support\Facades\Auth< / span > < span class = "keyword" > ;< / span > < / td > < / tr >
< tr class = " d-flex" > < td class = "col-1 text-right" > < a id = "13" href = "#13" > 13< / a > < / td > < td class = "col-11 codeLine" > < span class = "keyword" > use< / span > < span class = "default" > < / span > < span class = "default" > Illuminate\Support\Facades\Gate< / span > < span class = "keyword" > ;< / span > < / td > < / tr >
< tr class = " d-flex" > < td class = "col-1 text-right" > < a id = "14" href = "#14" > 14< / a > < / td > < td class = "col-11 codeLine" > < / td > < / tr >
< tr class = " d-flex" > < td class = "col-1 text-right" > < a id = "15" href = "#15" > 15< / a > < / td > < td class = "col-11 codeLine" > < span class = "keyword" > class< / span > < span class = "default" > < / span > < span class = "default" > AuthServiceProvider< / span > < span class = "default" > < / span > < span class = "keyword" > extends< / span > < span class = "default" > < / span > < span class = "default" > ServiceProvider< / span > < / td > < / tr >
< tr class = " d-flex" > < td class = "col-1 text-right" > < a id = "16" href = "#16" > 16< / a > < / td > < td class = "col-11 codeLine" > < span class = "keyword" > {< / span > < / td > < / tr >
< tr class = " d-flex" > < td class = "col-1 text-right" > < a id = "17" href = "#17" > 17< / a > < / td > < td class = "col-11 codeLine" > < span class = "default" > < / span > < span class = "comment" > /**< / span > < / td > < / tr >
< tr class = " d-flex" > < td class = "col-1 text-right" > < a id = "18" href = "#18" > 18< / a > < / td > < td class = "col-11 codeLine" > < span class = "comment" > * The model to policy mappings for the application.< / span > < / td > < / tr >
< tr class = " d-flex" > < td class = "col-1 text-right" > < a id = "19" href = "#19" > 19< / a > < / td > < td class = "col-11 codeLine" > < span class = "comment" > *< / span > < / td > < / tr >
< tr class = " d-flex" > < td class = "col-1 text-right" > < a id = "20" href = "#20" > 20< / a > < / td > < td class = "col-11 codeLine" > < span class = "comment" > * @var array< class-string, class-string> < / span > < / td > < / tr >
< tr class = " d-flex" > < td class = "col-1 text-right" > < a id = "21" href = "#21" > 21< / a > < / td > < td class = "col-11 codeLine" > < span class = "comment" > */< / span > < / td > < / tr >
< tr class = " d-flex" > < td class = "col-1 text-right" > < a id = "22" href = "#22" > 22< / a > < / td > < td class = "col-11 codeLine" > < span class = "default" > < / span > < span class = "keyword" > protected< / span > < span class = "default" > < / span > < span class = "default" > $policies< / span > < span class = "default" > < / span > < span class = "keyword" > =< / span > < span class = "default" > < / span > < span class = "keyword" > [< / span > < span class = "keyword" > ]< / span > < span class = "keyword" > ;< / span > < / td > < / tr >
< tr class = " d-flex" > < td class = "col-1 text-right" > < a id = "23" href = "#23" > 23< / a > < / td > < td class = "col-11 codeLine" > < / td > < / tr >
< tr class = " d-flex" > < td class = "col-1 text-right" > < a id = "24" href = "#24" > 24< / a > < / td > < td class = "col-11 codeLine" > < span class = "default" > < / span > < span class = "comment" > /**< / span > < / td > < / tr >
< tr class = " d-flex" > < td class = "col-1 text-right" > < a id = "25" href = "#25" > 25< / a > < / td > < td class = "col-11 codeLine" > < span class = "comment" > * Register any authentication / authorization services.< / span > < / td > < / tr >
< tr class = " d-flex" > < td class = "col-1 text-right" > < a id = "26" href = "#26" > 26< / a > < / td > < td class = "col-11 codeLine" > < span class = "comment" > *< / span > < / td > < / tr >
< tr class = " d-flex" > < td class = "col-1 text-right" > < a id = "27" href = "#27" > 27< / a > < / td > < td class = "col-11 codeLine" > < span class = "comment" > * @return void< / span > < / td > < / tr >
< tr class = " d-flex" > < td class = "col-1 text-right" > < a id = "28" href = "#28" > 28< / a > < / td > < td class = "col-11 codeLine" > < span class = "comment" > */< / span > < / td > < / tr >
< tr class = " d-flex" > < td class = "col-1 text-right" > < a id = "29" href = "#29" > 29< / a > < / td > < td class = "col-11 codeLine" > < span class = "default" > < / span > < span class = "keyword" > public< / span > < span class = "default" > < / span > < span class = "keyword" > function< / span > < span class = "default" > < / span > < span class = "default" > boot< / span > < span class = "keyword" > (< / span > < span class = "keyword" > )< / span > < span class = "keyword" > :< / span > < span class = "default" > < / span > < span class = "default" > void< / span > < / td > < / tr >
< tr class = " d-flex" > < td class = "col-1 text-right" > < a id = "30" href = "#30" > 30< / a > < / td > < td class = "col-11 codeLine" > < span class = "default" > < / span > < span class = "keyword" > {< / span > < / td > < / tr >
< tr class = " d-flex" > < td class = "col-1 text-right" > < a id = "31" href = "#31" > 31< / a > < / td > < td class = "col-11 codeLine" > < span class = "default" > < / span > < span class = "comment" > // Register policies.< / span > < / td > < / tr >
< tr class = "covered-by-large-tests popin d-flex" > < td data-title = "149 tests cover line 32" data-content = "<ul><li class = "covered-by-large-tests">Tests\CRM\ApiV2\ApiTest::testOnlyJsonCallsAreHandled</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\ApiTest::testTimestampMiddleware</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\ApiTest::testTimestampMiddlewareCheckFailMissing</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\ApiTest::testTimestampMiddlewareCheckFailWrongFormat</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\ApiTest::testTimestampMiddlewareCheckFailIfTooOld</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\ApiTest::testApiThrottle</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\ApiTest::testWrongMethodCall</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\ApiTest::testAuthFailNoToken</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\ApiTest::testAuthFailUnknownToken</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\ApiTest::testAuthFailWrongSignature</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\ArcadiaTest::testArcadiaSendOrderDefault</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\ArcadiaTest::testArcadiaSendOrderGame</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testCustomerRelations</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiAuthenticateCustomerShouldWork</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiAuthenticateCustomerShouldFailIfWrongPassword</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiAuthenticateCustomerShouldFailIfWrongEmail</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiAuthenticateCustomerShouldFailIfCustomerNotActivated</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiStoreCustomerOk</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiStoreCustomerShouldFailIfCustomerAlreadyExists</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiStoreCustomerValidationFailures</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testActivateCustomerOk</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testActivateCustomerAlreadyActivated</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiUpdateCustomerOk</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiUpdateCustomerShouldFailWhenNothingChanges</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiGetCustomerOk</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiGetCustomerByEmailOk</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiGetCustomerNotFound</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiDestroyCustomer</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiCompletelyDestroyCustomer</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testQuestionIndex</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testQuestionIndexWithAnswers</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testQuestionIndexWithAnswersWhenCustomerNotFound</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\QuestionTes
< tr class = " d-flex" > < td class = "col-1 text-right" > < a id = "33" href = "#33" > 33< / a > < / td > < td class = "col-11 codeLine" > < / td > < / tr >
< tr class = "covered-by-large-tests popin d-flex" > < td data-title = "149 tests cover line 34" data-content = "<ul><li class = "covered-by-large-tests">Tests\CRM\ApiV2\ApiTest::testOnlyJsonCallsAreHandled</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\ApiTest::testTimestampMiddleware</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\ApiTest::testTimestampMiddlewareCheckFailMissing</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\ApiTest::testTimestampMiddlewareCheckFailWrongFormat</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\ApiTest::testTimestampMiddlewareCheckFailIfTooOld</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\ApiTest::testApiThrottle</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\ApiTest::testWrongMethodCall</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\ApiTest::testAuthFailNoToken</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\ApiTest::testAuthFailUnknownToken</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\ApiTest::testAuthFailWrongSignature</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\ArcadiaTest::testArcadiaSendOrderDefault</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\ArcadiaTest::testArcadiaSendOrderGame</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testCustomerRelations</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiAuthenticateCustomerShouldWork</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiAuthenticateCustomerShouldFailIfWrongPassword</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiAuthenticateCustomerShouldFailIfWrongEmail</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiAuthenticateCustomerShouldFailIfCustomerNotActivated</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiStoreCustomerOk</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiStoreCustomerShouldFailIfCustomerAlreadyExists</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiStoreCustomerValidationFailures</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testActivateCustomerOk</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testActivateCustomerAlreadyActivated</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiUpdateCustomerOk</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiUpdateCustomerShouldFailWhenNothingChanges</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiGetCustomerOk</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiGetCustomerByEmailOk</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiGetCustomerNotFound</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiDestroyCustomer</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiCompletelyDestroyCustomer</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testQuestionIndex</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testQuestionIndexWithAnswers</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testQuestionIndexWithAnswersWhenCustomerNotFound</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\QuestionTes
< tr class = "danger d-flex" > < td class = "col-1 text-right" > < a id = "35" href = "#35" > 35< / a > < / td > < td class = "col-11 codeLine" > < span class = "default" > < / span > < span class = "keyword" > return< / span > < span class = "default" > < / span > < span class = "default" > $user< / span > < span class = "default" > -> < / span > < span class = "default" > role< / span > < span class = "default" > < / span > < span class = "default" > ===< / span > < span class = "default" > < / span > < span class = "default" > RoleEnum< / span > < span class = "default" > ::< / span > < span class = "default" > conceptor< / span > < span class = "keyword" > ;< / span > < / td > < / tr >
< tr class = "covered-by-large-tests popin d-flex" > < td data-title = "149 tests cover line 36" data-content = "<ul><li class = "covered-by-large-tests">Tests\CRM\ApiV2\ApiTest::testOnlyJsonCallsAreHandled</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\ApiTest::testTimestampMiddleware</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\ApiTest::testTimestampMiddlewareCheckFailMissing</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\ApiTest::testTimestampMiddlewareCheckFailWrongFormat</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\ApiTest::testTimestampMiddlewareCheckFailIfTooOld</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\ApiTest::testApiThrottle</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\ApiTest::testWrongMethodCall</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\ApiTest::testAuthFailNoToken</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\ApiTest::testAuthFailUnknownToken</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\ApiTest::testAuthFailWrongSignature</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\ArcadiaTest::testArcadiaSendOrderDefault</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\ArcadiaTest::testArcadiaSendOrderGame</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testCustomerRelations</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiAuthenticateCustomerShouldWork</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiAuthenticateCustomerShouldFailIfWrongPassword</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiAuthenticateCustomerShouldFailIfWrongEmail</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiAuthenticateCustomerShouldFailIfCustomerNotActivated</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiStoreCustomerOk</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiStoreCustomerShouldFailIfCustomerAlreadyExists</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiStoreCustomerValidationFailures</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testActivateCustomerOk</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testActivateCustomerAlreadyActivated</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiUpdateCustomerOk</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiUpdateCustomerShouldFailWhenNothingChanges</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiGetCustomerOk</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiGetCustomerByEmailOk</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiGetCustomerNotFound</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiDestroyCustomer</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiCompletelyDestroyCustomer</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testQuestionIndex</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testQuestionIndexWithAnswers</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testQuestionIndexWithAnswersWhenCustomerNotFound</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\QuestionTes
< tr class = " d-flex" > < td class = "col-1 text-right" > < a id = "37" href = "#37" > 37< / a > < / td > < td class = "col-11 codeLine" > < / td > < / tr >
< tr class = "covered-by-large-tests popin d-flex" > < td data-title = "149 tests cover line 38" data-content = "<ul><li class = "covered-by-large-tests">Tests\CRM\ApiV2\ApiTest::testOnlyJsonCallsAreHandled</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\ApiTest::testTimestampMiddleware</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\ApiTest::testTimestampMiddlewareCheckFailMissing</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\ApiTest::testTimestampMiddlewareCheckFailWrongFormat</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\ApiTest::testTimestampMiddlewareCheckFailIfTooOld</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\ApiTest::testApiThrottle</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\ApiTest::testWrongMethodCall</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\ApiTest::testAuthFailNoToken</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\ApiTest::testAuthFailUnknownToken</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\ApiTest::testAuthFailWrongSignature</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\ArcadiaTest::testArcadiaSendOrderDefault</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\ArcadiaTest::testArcadiaSendOrderGame</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testCustomerRelations</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiAuthenticateCustomerShouldWork</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiAuthenticateCustomerShouldFailIfWrongPassword</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiAuthenticateCustomerShouldFailIfWrongEmail</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiAuthenticateCustomerShouldFailIfCustomerNotActivated</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiStoreCustomerOk</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiStoreCustomerShouldFailIfCustomerAlreadyExists</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiStoreCustomerValidationFailures</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testActivateCustomerOk</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testActivateCustomerAlreadyActivated</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiUpdateCustomerOk</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiUpdateCustomerShouldFailWhenNothingChanges</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiGetCustomerOk</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiGetCustomerByEmailOk</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiGetCustomerNotFound</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiDestroyCustomer</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiCompletelyDestroyCustomer</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testQuestionIndex</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testQuestionIndexWithAnswers</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testQuestionIndexWithAnswersWhenCustomerNotFound</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\QuestionTes
2023-09-06 17:24:53 +02:00
< tr class = " d-flex" > < td class = "col-1 text-right" > < a id = "39" href = "#39" > 39< / a > < / td > < td class = "col-11 codeLine" > < / td > < / tr >
2023-10-06 15:00:42 +02:00
< tr class = " d-flex" > < td class = "col-1 text-right" > < a id = "40" href = "#40" > 40< / a > < / td > < td class = "col-11 codeLine" > < span class = "default" > < / span > < span class = "comment" > /**< / span > < / td > < / tr >
< tr class = " d-flex" > < td class = "col-1 text-right" > < a id = "41" href = "#41" > 41< / a > < / td > < td class = "col-11 codeLine" > < span class = "comment" > * Un token devrais être fourni pour chaque requete< / span > < / td > < / tr >
< tr class = " d-flex" > < td class = "col-1 text-right" > < a id = "42" href = "#42" > 42< / a > < / td > < td class = "col-11 codeLine" > < span class = "comment" > */< / span > < / td > < / tr >
< tr class = "covered-by-large-tests popin d-flex" > < td data-title = "80 tests cover line 43" data-content = "<ul><li class = "covered-by-large-tests">Tests\CRM\ApiV2\ApiTest::testAuthFailNoToken</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\ApiTest::testAuthFailUnknownToken</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\ApiTest::testAuthFailWrongSignature</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\ArcadiaTest::testArcadiaSendOrderDefault</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\ArcadiaTest::testArcadiaSendOrderGame</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiAuthenticateCustomerShouldWork</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiAuthenticateCustomerShouldFailIfWrongPassword</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiAuthenticateCustomerShouldFailIfWrongEmail</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiAuthenticateCustomerShouldFailIfCustomerNotActivated</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiStoreCustomerOk</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiStoreCustomerShouldFailIfCustomerAlreadyExists</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiStoreCustomerValidationFailures</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testActivateCustomerOk</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testActivateCustomerAlreadyActivated</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiUpdateCustomerOk</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiUpdateCustomerShouldFailWhenNothingChanges</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiGetCustomerOk</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiGetCustomerByEmailOk</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiGetCustomerNotFound</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiDestroyCustomer</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiCompletelyDestroyCustomer</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testQuestionIndex</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testQuestionIndexWithAnswers</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testQuestionIndexWithAnswersWhenCustomerNotFound</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testCustomerUnAnsweredIndex</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testUnAnsweredIndexWhenCustomerNotFound</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testQuestionSetAnswer</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testQuestionSetAnswerWhenCustomerNotFound</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\SingleOptinTest::testSetSingleOptinOn</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\SingleOptinTest::testSetSingleOptinOff</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\SingleOptinTest::testSingleOptinShouldFailIfCustomerExists</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\SingleOptinTest::testSetSingleOptoutWithHashcode</li><li class = "
< tr class = "covered-by-large-tests popin d-flex" > < td data-title = "2 tests cover line 44" data-content = "<ul><li class="covered-by-large-tests">Tests\CRM\ApiV2\ApiTest::testAuthFailNoToken</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\ApiTest::testAuthFailNoToken</li></ul>" data-placement = "top" data-html = "true" class = "col-1 text-right" > < a id = "44" href = "#44" > 44< / a > < / td > < td class = "col-11 codeLine" > < span class = "default" > < / span > < span class = "keyword" > return< / span > < span class = "default" > < / span > < span class = "default" > null< / span > < span class = "keyword" > ;< / span > < / td > < / tr >
2023-09-06 17:24:53 +02:00
< tr class = " d-flex" > < td class = "col-1 text-right" > < a id = "45" href = "#45" > 45< / a > < / td > < td class = "col-11 codeLine" > < span class = "default" > < / span > < span class = "keyword" > }< / span > < / td > < / tr >
< tr class = " d-flex" > < td class = "col-1 text-right" > < a id = "46" href = "#46" > 46< / a > < / td > < td class = "col-11 codeLine" > < / td > < / tr >
2023-10-06 15:00:42 +02:00
< tr class = " d-flex" > < td class = "col-1 text-right" > < a id = "47" href = "#47" > 47< / a > < / td > < td class = "col-11 codeLine" > < span class = "default" > < / span > < span class = "comment" > // * Si la route actuelle n'as pas de nom alors on refuse de la traiter.< / span > < / td > < / tr >
< tr class = "covered-by-large-tests popin d-flex" > < td data-title = "78 tests cover line 48" data-content = "<ul><li class = "covered-by-large-tests">Tests\CRM\ApiV2\ApiTest::testAuthFailUnknownToken</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\ApiTest::testAuthFailWrongSignature</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\ArcadiaTest::testArcadiaSendOrderDefault</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\ArcadiaTest::testArcadiaSendOrderGame</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiAuthenticateCustomerShouldWork</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiAuthenticateCustomerShouldFailIfWrongPassword</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiAuthenticateCustomerShouldFailIfWrongEmail</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiAuthenticateCustomerShouldFailIfCustomerNotActivated</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiStoreCustomerOk</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiStoreCustomerShouldFailIfCustomerAlreadyExists</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiStoreCustomerValidationFailures</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testActivateCustomerOk</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testActivateCustomerAlreadyActivated</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiUpdateCustomerOk</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiUpdateCustomerShouldFailWhenNothingChanges</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiGetCustomerOk</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiGetCustomerByEmailOk</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiGetCustomerNotFound</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiDestroyCustomer</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiCompletelyDestroyCustomer</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testQuestionIndex</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testQuestionIndexWithAnswers</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testQuestionIndexWithAnswersWhenCustomerNotFound</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testCustomerUnAnsweredIndex</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testUnAnsweredIndexWhenCustomerNotFound</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testQuestionSetAnswer</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testQuestionSetAnswerWhenCustomerNotFound</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\SingleOptinTest::testSetSingleOptinOn</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\SingleOptinTest::testSetSingleOptinOff</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\SingleOptinTest::testSingleOptinShouldFailIfCustomerExists</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\SingleOptinTest::testSetSingleOptoutWithHashcode</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\SingleOptinTest::testSetSingleOptoutWithHashcodeFailsIfDo
< tr class = " d-flex" > < td class = "col-1 text-right" > < a id = "49" href = "#49" > 49< / a > < / td > < td class = "col-11 codeLine" > < span class = "default" > < / span > < span class = "comment" > // @codeCoverageIgnoreStart< / span > < / td > < / tr >
< tr class = " d-flex" > < td class = "col-1 text-right" > < a id = "50" href = "#50" > 50< / a > < / td > < td class = "col-11 codeLine" > < span class = "default" > < / span > < span class = "keyword" > return< / span > < span class = "default" > < / span > < span class = "default" > null< / span > < span class = "keyword" > ;< / span > < / td > < / tr >
< tr class = " d-flex" > < td class = "col-1 text-right" > < a id = "51" href = "#51" > 51< / a > < / td > < td class = "col-11 codeLine" > < span class = "default" > < / span > < span class = "comment" > // @codeCoverageIgnoreEnd< / span > < / td > < / tr >
< tr class = " d-flex" > < td class = "col-1 text-right" > < a id = "52" href = "#52" > 52< / a > < / td > < td class = "col-11 codeLine" > < span class = "default" > < / span > < span class = "keyword" > }< / span > < / td > < / tr >
< tr class = " d-flex" > < td class = "col-1 text-right" > < a id = "53" href = "#53" > 53< / a > < / td > < td class = "col-11 codeLine" > < / td > < / tr >
< tr class = "covered-by-large-tests popin d-flex" > < td data-title = "78 tests cover line 54" data-content = "<ul><li class = "covered-by-large-tests">Tests\CRM\ApiV2\ApiTest::testAuthFailUnknownToken</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\ApiTest::testAuthFailWrongSignature</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\ArcadiaTest::testArcadiaSendOrderDefault</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\ArcadiaTest::testArcadiaSendOrderGame</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiAuthenticateCustomerShouldWork</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiAuthenticateCustomerShouldFailIfWrongPassword</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiAuthenticateCustomerShouldFailIfWrongEmail</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiAuthenticateCustomerShouldFailIfCustomerNotActivated</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiStoreCustomerOk</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiStoreCustomerShouldFailIfCustomerAlreadyExists</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiStoreCustomerValidationFailures</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testActivateCustomerOk</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testActivateCustomerAlreadyActivated</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiUpdateCustomerOk</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiUpdateCustomerShouldFailWhenNothingChanges</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiGetCustomerOk</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiGetCustomerByEmailOk</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiGetCustomerNotFound</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiDestroyCustomer</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiCompletelyDestroyCustomer</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testQuestionIndex</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testQuestionIndexWithAnswers</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testQuestionIndexWithAnswersWhenCustomerNotFound</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testCustomerUnAnsweredIndex</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testUnAnsweredIndexWhenCustomerNotFound</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testQuestionSetAnswer</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testQuestionSetAnswerWhenCustomerNotFound</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\SingleOptinTest::testSetSingleOptinOn</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\SingleOptinTest::testSetSingleOptinOff</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\SingleOptinTest::testSingleOptinShouldFailIfCustomerExists</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\SingleOptinTest::testSetSingleOptoutWithHashcode</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\SingleOptinTest::testSetSingleOptoutWithHashcodeFailsIfDo
2023-09-06 17:24:53 +02:00
< tr class = " d-flex" > < td class = "col-1 text-right" > < a id = "55" href = "#55" > 55< / a > < / td > < td class = "col-11 codeLine" > < / td > < / tr >
2023-10-06 15:00:42 +02:00
< tr class = " d-flex" > < td class = "col-1 text-right" > < a id = "56" href = "#56" > 56< / a > < / td > < td class = "col-11 codeLine" > < span class = "default" > < / span > < span class = "keyword" > try< / span > < span class = "default" > < / span > < span class = "keyword" > {< / span > < / td > < / tr >
< tr class = " d-flex" > < td class = "col-1 text-right" > < a id = "57" href = "#57" > 57< / a > < / td > < td class = "col-11 codeLine" > < span class = "default" > < / span > < span class = "comment" > // * On récupère le service actuel correspondant au token fourni.< / span > < / td > < / tr >
< tr class = "covered-by-large-tests popin d-flex" > < td data-title = "78 tests cover line 58" data-content = "<ul><li class = "covered-by-large-tests">Tests\CRM\ApiV2\ApiTest::testAuthFailUnknownToken</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\ApiTest::testAuthFailWrongSignature</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\ArcadiaTest::testArcadiaSendOrderDefault</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\ArcadiaTest::testArcadiaSendOrderGame</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiAuthenticateCustomerShouldWork</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiAuthenticateCustomerShouldFailIfWrongPassword</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiAuthenticateCustomerShouldFailIfWrongEmail</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiAuthenticateCustomerShouldFailIfCustomerNotActivated</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiStoreCustomerOk</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiStoreCustomerShouldFailIfCustomerAlreadyExists</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiStoreCustomerValidationFailures</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testActivateCustomerOk</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testActivateCustomerAlreadyActivated</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiUpdateCustomerOk</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiUpdateCustomerShouldFailWhenNothingChanges</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiGetCustomerOk</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiGetCustomerByEmailOk</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiGetCustomerNotFound</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiDestroyCustomer</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiCompletelyDestroyCustomer</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testQuestionIndex</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testQuestionIndexWithAnswers</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testQuestionIndexWithAnswersWhenCustomerNotFound</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testCustomerUnAnsweredIndex</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testUnAnsweredIndexWhenCustomerNotFound</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testQuestionSetAnswer</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testQuestionSetAnswerWhenCustomerNotFound</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\SingleOptinTest::testSetSingleOptinOn</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\SingleOptinTest::testSetSingleOptinOff</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\SingleOptinTest::testSingleOptinShouldFailIfCustomerExists</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\SingleOptinTest::testSetSingleOptoutWithHashcode</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\SingleOptinTest::testSetSingleOptoutWithHashcodeFailsIfDo
< tr class = "covered-by-large-tests popin d-flex" > < td data-title = "2 tests cover line 59" data-content = "<ul><li class="covered-by-large-tests">Tests\CRM\ApiV2\ApiTest::testAuthFailUnknownToken</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\ApiTest::testAuthFailUnknownToken</li></ul>" data-placement = "top" data-html = "true" class = "col-1 text-right" > < a id = "59" href = "#59" > 59< / a > < / td > < td class = "col-11 codeLine" > < span class = "default" > < / span > < span class = "keyword" > }< / span > < span class = "default" > < / span > < span class = "keyword" > catch< / span > < span class = "default" > < / span > < span class = "keyword" > (< / span > < span class = "default" > ModelNotFoundException< / span > < span class = "default" > < / span > < span class = "default" > $e< / span > < span class = "keyword" > )< / span > < span class = "default" > < / span > < span class = "keyword" > {< / span > < / td > < / tr >
< tr class = "covered-by-large-tests popin d-flex" > < td data-title = "2 tests cover line 60" data-content = "<ul><li class="covered-by-large-tests">Tests\CRM\ApiV2\ApiTest::testAuthFailUnknownToken</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\ApiTest::testAuthFailUnknownToken</li></ul>" data-placement = "top" data-html = "true" class = "col-1 text-right" > < a id = "60" href = "#60" > 60< / a > < / td > < td class = "col-11 codeLine" > < span class = "default" > < / span > < span class = "keyword" > return< / span > < span class = "default" > < / span > < span class = "default" > null< / span > < span class = "keyword" > ;< / span > < / td > < / tr >
< tr class = " d-flex" > < td class = "col-1 text-right" > < a id = "61" href = "#61" > 61< / a > < / td > < td class = "col-11 codeLine" > < span class = "default" > < / span > < span class = "keyword" > }< / span > < / td > < / tr >
< tr class = " d-flex" > < td class = "col-1 text-right" > < a id = "62" href = "#62" > 62< / a > < / td > < td class = "col-11 codeLine" > < / td > < / tr >
< tr class = " d-flex" > < td class = "col-1 text-right" > < a id = "63" href = "#63" > 63< / a > < / td > < td class = "col-11 codeLine" > < span class = "default" > < / span > < span class = "comment" > // * Preload the brand as we will access it often later.< / span > < / td > < / tr >
< tr class = "covered-by-large-tests popin d-flex" > < td data-title = "76 tests cover line 64" data-content = "<ul><li class = "covered-by-large-tests">Tests\CRM\ApiV2\ApiTest::testAuthFailWrongSignature</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\ArcadiaTest::testArcadiaSendOrderDefault</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\ArcadiaTest::testArcadiaSendOrderGame</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiAuthenticateCustomerShouldWork</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiAuthenticateCustomerShouldFailIfWrongPassword</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiAuthenticateCustomerShouldFailIfWrongEmail</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiAuthenticateCustomerShouldFailIfCustomerNotActivated</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiStoreCustomerOk</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiStoreCustomerShouldFailIfCustomerAlreadyExists</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiStoreCustomerValidationFailures</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testActivateCustomerOk</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testActivateCustomerAlreadyActivated</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiUpdateCustomerOk</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiUpdateCustomerShouldFailWhenNothingChanges</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiGetCustomerOk</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiGetCustomerByEmailOk</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiGetCustomerNotFound</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiDestroyCustomer</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiCompletelyDestroyCustomer</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testQuestionIndex</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testQuestionIndexWithAnswers</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testQuestionIndexWithAnswersWhenCustomerNotFound</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testCustomerUnAnsweredIndex</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testUnAnsweredIndexWhenCustomerNotFound</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testQuestionSetAnswer</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testQuestionSetAnswerWhenCustomerNotFound</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\SingleOptinTest::testSetSingleOptinOn</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\SingleOptinTest::testSetSingleOptinOff</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\SingleOptinTest::testSingleOptinShouldFailIfCustomerExists</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\SingleOptinTest::testSetSingleOptoutWithHashcode</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\SingleOptinTest::testSetSingleOptoutWithHashcodeFailsIfDoesNotExists</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\StatsTest::testStatsBy
< tr class = " d-flex" > < td class = "col-1 text-right" > < a id = "65" href = "#65" > 65< / a > < / td > < td class = "col-11 codeLine" > < / td > < / tr >
< tr class = " d-flex" > < td class = "col-1 text-right" > < a id = "66" href = "#66" > 66< / a > < / td > < td class = "col-11 codeLine" > < span class = "default" > < / span > < span class = "comment" > /**< / span > < / td > < / tr >
< tr class = " d-flex" > < td class = "col-1 text-right" > < a id = "67" href = "#67" > 67< / a > < / td > < td class = "col-11 codeLine" > < span class = "comment" > ** All ApiV4 routes must pass Brand model to controller action since a Brand owns< / span > < / td > < / tr >
< tr class = " d-flex" > < td class = "col-1 text-right" > < a id = "68" href = "#68" > 68< / a > < / td > < td class = "col-11 codeLine" > < span class = "comment" > ** a service token, otherwise the api cannot be called.< / span > < / td > < / tr >
< tr class = " d-flex" > < td class = "col-1 text-right" > < a id = "69" href = "#69" > 69< / a > < / td > < td class = "col-11 codeLine" > < span class = "comment" > ** This hack is a custom binder instead of passing< / span > < / td > < / tr >
< tr class = " d-flex" > < td class = "col-1 text-right" > < a id = "70" href = "#70" > 70< / a > < / td > < td class = "col-11 codeLine" > < span class = "comment" > ** this to route as a parameter< / span > < / td > < / tr >
< tr class = " d-flex" > < td class = "col-1 text-right" > < a id = "71" href = "#71" > 71< / a > < / td > < td class = "col-11 codeLine" > < span class = "comment" > */< / span > < / td > < / tr >
< tr class = "covered-by-large-tests popin d-flex" > < td data-title = "76 tests cover line 72" data-content = "<ul><li class = "covered-by-large-tests">Tests\CRM\ApiV2\ApiTest::testAuthFailWrongSignature</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\ArcadiaTest::testArcadiaSendOrderDefault</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\ArcadiaTest::testArcadiaSendOrderGame</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiAuthenticateCustomerShouldWork</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiAuthenticateCustomerShouldFailIfWrongPassword</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiAuthenticateCustomerShouldFailIfWrongEmail</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiAuthenticateCustomerShouldFailIfCustomerNotActivated</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiStoreCustomerOk</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiStoreCustomerShouldFailIfCustomerAlreadyExists</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiStoreCustomerValidationFailures</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testActivateCustomerOk</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testActivateCustomerAlreadyActivated</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiUpdateCustomerOk</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiUpdateCustomerShouldFailWhenNothingChanges</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiGetCustomerOk</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiGetCustomerByEmailOk</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiGetCustomerNotFound</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiDestroyCustomer</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiCompletelyDestroyCustomer</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testQuestionIndex</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testQuestionIndexWithAnswers</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testQuestionIndexWithAnswersWhenCustomerNotFound</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testCustomerUnAnsweredIndex</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testUnAnsweredIndexWhenCustomerNotFound</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testQuestionSetAnswer</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testQuestionSetAnswerWhenCustomerNotFound</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\SingleOptinTest::testSetSingleOptinOn</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\SingleOptinTest::testSetSingleOptinOff</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\SingleOptinTest::testSingleOptinShouldFailIfCustomerExists</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\SingleOptinTest::testSetSingleOptoutWithHashcode</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\SingleOptinTest::testSetSingleOptoutWithHashcodeFailsIfDoesNotExists</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\StatsTest::testStatsBy
< tr class = "covered-by-large-tests popin d-flex" > < td data-title = "74 tests cover line 73" data-content = "<ul><li class = "covered-by-large-tests">Tests\CRM\ApiV2\ArcadiaTest::testArcadiaSendOrderDefault</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\ArcadiaTest::testArcadiaSendOrderGame</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiAuthenticateCustomerShouldWork</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiAuthenticateCustomerShouldFailIfWrongPassword</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiAuthenticateCustomerShouldFailIfWrongEmail</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiAuthenticateCustomerShouldFailIfCustomerNotActivated</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiStoreCustomerOk</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiStoreCustomerShouldFailIfCustomerAlreadyExists</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiStoreCustomerValidationFailures</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testActivateCustomerOk</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testActivateCustomerAlreadyActivated</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiUpdateCustomerOk</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiUpdateCustomerShouldFailWhenNothingChanges</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiGetCustomerOk</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiGetCustomerByEmailOk</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiGetCustomerNotFound</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiDestroyCustomer</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiCompletelyDestroyCustomer</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testQuestionIndex</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testQuestionIndexWithAnswers</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testQuestionIndexWithAnswersWhenCustomerNotFound</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testCustomerUnAnsweredIndex</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testUnAnsweredIndexWhenCustomerNotFound</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testQuestionSetAnswer</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testQuestionSetAnswerWhenCustomerNotFound</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\SingleOptinTest::testSetSingleOptinOn</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\SingleOptinTest::testSetSingleOptinOff</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\SingleOptinTest::testSingleOptinShouldFailIfCustomerExists</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\SingleOptinTest::testSetSingleOptoutWithHashcode</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\SingleOptinTest::testSetSingleOptoutWithHashcodeFailsIfDoesNotExists</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\StatsTest::testStatsByBrand</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\StatsTest::testStatsByBrandSho
< tr class = "covered-by-large-tests popin d-flex" > < td data-title = "76 tests cover line 74" data-content = "<ul><li class = "covered-by-large-tests">Tests\CRM\ApiV2\ApiTest::testAuthFailWrongSignature</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\ArcadiaTest::testArcadiaSendOrderDefault</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\ArcadiaTest::testArcadiaSendOrderGame</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiAuthenticateCustomerShouldWork</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiAuthenticateCustomerShouldFailIfWrongPassword</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiAuthenticateCustomerShouldFailIfWrongEmail</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiAuthenticateCustomerShouldFailIfCustomerNotActivated</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiStoreCustomerOk</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiStoreCustomerShouldFailIfCustomerAlreadyExists</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiStoreCustomerValidationFailures</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testActivateCustomerOk</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testActivateCustomerAlreadyActivated</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiUpdateCustomerOk</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiUpdateCustomerShouldFailWhenNothingChanges</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiGetCustomerOk</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiGetCustomerByEmailOk</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiGetCustomerNotFound</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiDestroyCustomer</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiCompletelyDestroyCustomer</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testQuestionIndex</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testQuestionIndexWithAnswers</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testQuestionIndexWithAnswersWhenCustomerNotFound</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testCustomerUnAnsweredIndex</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testUnAnsweredIndexWhenCustomerNotFound</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testQuestionSetAnswer</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testQuestionSetAnswerWhenCustomerNotFound</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\SingleOptinTest::testSetSingleOptinOn</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\SingleOptinTest::testSetSingleOptinOff</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\SingleOptinTest::testSingleOptinShouldFailIfCustomerExists</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\SingleOptinTest::testSetSingleOptoutWithHashcode</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\SingleOptinTest::testSetSingleOptoutWithHashcodeFailsIfDoesNotExists</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\StatsTest::testStatsBy
< tr class = " d-flex" > < td class = "col-1 text-right" > < a id = "75" href = "#75" > 75< / a > < / td > < td class = "col-11 codeLine" > < / td > < / tr >
< tr class = " d-flex" > < td class = "col-1 text-right" > < a id = "76" href = "#76" > 76< / a > < / td > < td class = "col-11 codeLine" > < span class = "default" > < / span > < span class = "comment" > // * On authenticate la request en vérifiant sa signature.< / span > < / td > < / tr >
< tr class = "covered-by-large-tests popin d-flex" > < td data-title = "76 tests cover line 77" data-content = "<ul><li class = "covered-by-large-tests">Tests\CRM\ApiV2\ApiTest::testAuthFailWrongSignature</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\ArcadiaTest::testArcadiaSendOrderDefault</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\ArcadiaTest::testArcadiaSendOrderGame</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiAuthenticateCustomerShouldWork</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiAuthenticateCustomerShouldFailIfWrongPassword</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiAuthenticateCustomerShouldFailIfWrongEmail</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiAuthenticateCustomerShouldFailIfCustomerNotActivated</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiStoreCustomerOk</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiStoreCustomerShouldFailIfCustomerAlreadyExists</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiStoreCustomerValidationFailures</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testActivateCustomerOk</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testActivateCustomerAlreadyActivated</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiUpdateCustomerOk</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiUpdateCustomerShouldFailWhenNothingChanges</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiGetCustomerOk</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiGetCustomerByEmailOk</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiGetCustomerNotFound</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiDestroyCustomer</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiCompletelyDestroyCustomer</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testQuestionIndex</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testQuestionIndexWithAnswers</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testQuestionIndexWithAnswersWhenCustomerNotFound</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testCustomerUnAnsweredIndex</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testUnAnsweredIndexWhenCustomerNotFound</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testQuestionSetAnswer</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testQuestionSetAnswerWhenCustomerNotFound</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\SingleOptinTest::testSetSingleOptinOn</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\SingleOptinTest::testSetSingleOptinOff</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\SingleOptinTest::testSingleOptinShouldFailIfCustomerExists</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\SingleOptinTest::testSetSingleOptoutWithHashcode</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\SingleOptinTest::testSetSingleOptoutWithHashcodeFailsIfDoesNotExists</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\StatsTest::testStatsBy
< tr class = "covered-by-large-tests popin d-flex" > < td data-title = "74 tests cover line 78" data-content = "<ul><li class = "covered-by-large-tests">Tests\CRM\ApiV2\ArcadiaTest::testArcadiaSendOrderDefault</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\ArcadiaTest::testArcadiaSendOrderGame</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiAuthenticateCustomerShouldWork</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiAuthenticateCustomerShouldFailIfWrongPassword</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiAuthenticateCustomerShouldFailIfWrongEmail</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiAuthenticateCustomerShouldFailIfCustomerNotActivated</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiStoreCustomerOk</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiStoreCustomerShouldFailIfCustomerAlreadyExists</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiStoreCustomerValidationFailures</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testActivateCustomerOk</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testActivateCustomerAlreadyActivated</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiUpdateCustomerOk</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiUpdateCustomerShouldFailWhenNothingChanges</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiGetCustomerOk</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiGetCustomerByEmailOk</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiGetCustomerNotFound</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiDestroyCustomer</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiCompletelyDestroyCustomer</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testQuestionIndex</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testQuestionIndexWithAnswers</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testQuestionIndexWithAnswersWhenCustomerNotFound</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testCustomerUnAnsweredIndex</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testUnAnsweredIndexWhenCustomerNotFound</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testQuestionSetAnswer</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testQuestionSetAnswerWhenCustomerNotFound</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\SingleOptinTest::testSetSingleOptinOn</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\SingleOptinTest::testSetSingleOptinOff</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\SingleOptinTest::testSingleOptinShouldFailIfCustomerExists</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\SingleOptinTest::testSetSingleOptoutWithHashcode</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\SingleOptinTest::testSetSingleOptoutWithHashcodeFailsIfDoesNotExists</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\StatsTest::testStatsByBrand</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\StatsTest::testStatsByBrandSho
< tr class = " d-flex" > < td class = "col-1 text-right" > < a id = "79" href = "#79" > 79< / a > < / td > < td class = "col-11 codeLine" > < span class = "default" > < / span > < span class = "keyword" > }< / span > < / td > < / tr >
< tr class = " d-flex" > < td class = "col-1 text-right" > < a id = "80" href = "#80" > 80< / a > < / td > < td class = "col-11 codeLine" > < / td > < / tr >
< tr class = "covered-by-large-tests popin d-flex" > < td data-title = "2 tests cover line 81" data-content = "<ul><li class="covered-by-large-tests">Tests\CRM\ApiV2\ApiTest::testAuthFailWrongSignature</li><li class="covered-by-large-tests">Tests\CRM\ApiV4\ApiTest::testAuthFailWrongSignature</li></ul>" data-placement = "top" data-html = "true" class = "col-1 text-right" > < a id = "81" href = "#81" > 81< / a > < / td > < td class = "col-11 codeLine" > < span class = "default" > < / span > < span class = "keyword" > return< / span > < span class = "default" > < / span > < span class = "default" > null< / span > < span class = "keyword" > ;< / span > < / td > < / tr >
< tr class = "covered-by-large-tests popin d-flex" > < td data-title = "149 tests cover line 82" data-content = "<ul><li class = "covered-by-large-tests">Tests\CRM\ApiV2\ApiTest::testOnlyJsonCallsAreHandled</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\ApiTest::testTimestampMiddleware</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\ApiTest::testTimestampMiddlewareCheckFailMissing</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\ApiTest::testTimestampMiddlewareCheckFailWrongFormat</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\ApiTest::testTimestampMiddlewareCheckFailIfTooOld</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\ApiTest::testApiThrottle</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\ApiTest::testWrongMethodCall</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\ApiTest::testAuthFailNoToken</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\ApiTest::testAuthFailUnknownToken</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\ApiTest::testAuthFailWrongSignature</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\ArcadiaTest::testArcadiaSendOrderDefault</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\ArcadiaTest::testArcadiaSendOrderGame</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testCustomerRelations</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiAuthenticateCustomerShouldWork</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiAuthenticateCustomerShouldFailIfWrongPassword</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiAuthenticateCustomerShouldFailIfWrongEmail</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiAuthenticateCustomerShouldFailIfCustomerNotActivated</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiStoreCustomerOk</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiStoreCustomerShouldFailIfCustomerAlreadyExists</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiStoreCustomerValidationFailures</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testActivateCustomerOk</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testActivateCustomerAlreadyActivated</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiUpdateCustomerOk</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiUpdateCustomerShouldFailWhenNothingChanges</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiGetCustomerOk</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiGetCustomerByEmailOk</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiGetCustomerNotFound</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiDestroyCustomer</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\CustomerTest::testApiCompletelyDestroyCustomer</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testQuestionIndex</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testQuestionIndexWithAnswers</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\QuestionTest::testQuestionIndexWithAnswersWhenCustomerNotFound</li><li class = "covered-by-large-tests">Tests\CRM\ApiV2\QuestionTes
< tr class = " d-flex" > < td class = "col-1 text-right" > < a id = "83" href = "#83" > 83< / a > < / td > < td class = "col-11 codeLine" > < span class = "default" > < / span > < span class = "keyword" > }< / span > < / td > < / tr >
< tr class = " d-flex" > < td class = "col-1 text-right" > < a id = "84" href = "#84" > 84< / a > < / td > < td class = "col-11 codeLine" > < span class = "keyword" > }< / span > < / td > < / tr >
2021-12-19 15:57:24 +01:00
< / tbody >
< / table >
< footer >
< hr / >
< h4 > Legend< / h4 >
2023-09-06 17:24:53 +02:00
< p > < span class = "legend covered-by-small-tests" > Covered by small (and larger) tests< / span > < span class = "legend covered-by-medium-tests" > Covered by medium (and large) tests< / span > < span class = "legend covered-by-large-tests" > Covered by large tests (and tests of unknown size)< / span > < span class = "legend not-covered" > Not covered< / span > < span class = "legend not-coverable" > Not coverable< / span > < / p >
2021-12-19 15:57:24 +01:00
< p >
2023-10-06 15:00:42 +02:00
< small > Generated by < a href = "https://github.com/sebastianbergmann/php-code-coverage" target = "_top" > php-code-coverage 10.1.7< / a > using < a href = "https://www.php.net/" target = "_top" > PHP 8.2.10< / a > and < a href = "https://phpunit.de/" > PHPUnit 10.4.0< / a > at Fri Oct 6 15:56:10 CEST 2023.< / small >
2021-12-19 15:57:24 +01:00
< / p >
< a title = "Back to the top" id = "toplink" href = "#" >
< svg xmlns = "http://www.w3.org/2000/svg" width = "12" height = "16" viewBox = "0 0 12 16" > < path fill-rule = "evenodd" d = "M12 11L6 5l-6 6h12z" / > < / svg >
< / a >
< / footer >
< / div >
2023-09-06 17:24:53 +02:00
< script src = "../../_js/jquery.min.js?v=10.1.7" type = "text/javascript" > < / script >
< script src = "../../_js/popper.min.js?v=10.1.7" type = "text/javascript" > < / script >
< script src = "../../_js/bootstrap.min.js?v=10.1.7" type = "text/javascript" > < / script >
< script src = "../../_js/file.js?v=10.1.7" type = "text/javascript" > < / script >
2021-12-19 15:57:24 +01:00
< / body >
< / html >