<trclass="covered-by-large-tests popin"data-title="1 test covers line 20"data-content="<ul><li class="covered-by-large-tests">RDVRepoTest::testGetByDate</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="20"></a><ahref="#20">20</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="default">$date</span><spanclass="default"> </span><spanclass="keyword">=</span><spanclass="default"> </span><spanclass="default">date</span><spanclass="keyword">(</span><spanclass="default">'Y-m-d'</span><spanclass="keyword">,</span><spanclass="default">strtotime</span><spanclass="keyword">(</span><spanclass="default">$date</span><spanclass="keyword">)</span><spanclass="keyword">)</span><spanclass="keyword">;</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 21"data-content="<ul><li class="covered-by-large-tests">RDVRepoTest::testGetByDate</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="21"></a><ahref="#21">21</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="default">$req</span><spanclass="default"> </span><spanclass="keyword">=</span><spanclass="default"> </span><spanclass="default">StaticRepo</span><spanclass="default">::</span><spanclass="default">getConnexion</span><spanclass="keyword">(</span><spanclass="keyword">)</span><spanclass="default">-></span><spanclass="default">prepare</span><spanclass="keyword">(</span><spanclass="default">'SELECT * FROM RDV WHERE DATE(DateRDV) = :date ORDER BY DateRDV ASC'</span><spanclass="keyword">)</span><spanclass="keyword">;</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 22"data-content="<ul><li class="covered-by-large-tests">RDVRepoTest::testGetByDate</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="22"></a><ahref="#22">22</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="default">$req</span><spanclass="default">-></span><spanclass="default">execute</span><spanclass="keyword">(</span><spanclass="keyword">[</span><spanclass="default">'date'</span><spanclass="default"> </span><spanclass="default">=></span><spanclass="default"> </span><spanclass="default">$date</span><spanclass="keyword">]</span><spanclass="keyword">)</span><spanclass="keyword">;</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 23"data-content="<ul><li class="covered-by-large-tests">RDVRepoTest::testGetByDate</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="23"></a><ahref="#23">23</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="keyword">return</span><spanclass="default"> </span><spanclass="default">StaticRepo</span><spanclass="default">::</span><spanclass="default">delNumeric</span><spanclass="keyword">(</span><spanclass="default">$req</span><spanclass="default">-></span><spanclass="default">fetchAll</span><spanclass="keyword">(</span><spanclass="keyword">)</span><spanclass="keyword">)</span><spanclass="keyword">;</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 27"data-content="<ul><li class="covered-by-large-tests">RDVRepoTest::testAdd</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="27"></a><ahref="#27">27</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="default">$req</span><spanclass="default"> </span><spanclass="keyword">=</span><spanclass="default"> </span><spanclass="default">StaticRepo</span><spanclass="default">::</span><spanclass="default">getConnexion</span><spanclass="keyword">(</span><spanclass="keyword">)</span><spanclass="default">-></span><spanclass="default">prepare</span><spanclass="keyword">(</span><spanclass="default">'DELETE FROM RDV WHERE RDV.id = :id'</span><spanclass="keyword">)</span><spanclass="keyword">;</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 28"data-content="<ul><li class="covered-by-large-tests">RDVRepoTest::testAdd</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="28"></a><ahref="#28">28</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="keyword">return</span><spanclass="default"> </span><spanclass="default">$req</span><spanclass="default">-></span><spanclass="default">execute</span><spanclass="keyword">(</span><spanclass="keyword">[</span><spanclass="default">'id'</span><spanclass="default"> </span><spanclass="default">=></span><spanclass="default"> </span><spanclass="default">$idRDV</span><spanclass="keyword">]</span><spanclass="keyword">)</span><spanclass="keyword">;</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 32"data-content="<ul><li class="covered-by-large-tests">RDVRepoTest::testAdd</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="32"></a><ahref="#32">32</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="default">$date</span><spanclass="default"> </span><spanclass="keyword">=</span><spanclass="default"> </span><spanclass="default">date</span><spanclass="keyword">(</span><spanclass="default">'Y-m-d H:i:s'</span><spanclass="keyword">,</span><spanclass="default">strtotime</span><spanclass="keyword">(</span><spanclass="default">$date</span><spanclass="keyword">)</span><spanclass="keyword">)</span><spanclass="keyword">;</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 33"data-content="<ul><li class="covered-by-large-tests">RDVRepoTest::testAdd</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="33"></a><ahref="#33">33</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="default">$duree</span><spanclass="default"> </span><spanclass="keyword">=</span><spanclass="default"> </span><spanclass="default">date</span><spanclass="keyword">(</span><spanclass="default">'H:i:s'</span><spanclass="keyword">,</span><spanclass="default">$duree</span><spanclass="keyword">*</span><spanclass="default">60</span><spanclass="keyword">)</span><spanclass="keyword">;</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 34"data-content="<ul><li class="covered-by-large-tests">RDVRepoTest::testAdd</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="34"></a><ahref="#34">34</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="default">$req</span><spanclass="default"> </span><spanclass="keyword">=</span><spanclass="default"> </span><spanclass="default">StaticRepo</span><spanclass="default">::</span><spanclass="default">getConnexion</span><spanclass="keyword">(</span><spanclass="keyword">)</span><spanclass="default">-></span><spanclass="default">prepare</span><spanclass="keyword">(</span><spanclass="default">'INSERT INTO RDV VALUES (DEFAULT,:date,:duree,:patient,:medecin)'</span><spanclass="keyword">)</span><spanclass="keyword">;</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 35"data-content="<ul><li class="covered-by-large-tests">RDVRepoTest::testAdd</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="35"></a><ahref="#35">35</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="default">$result</span><spanclass="default"> </span><spanclass="keyword">=</span><spanclass="default"> </span><spanclass="default">$req</span><spanclass="default">-></span><spanclass="default">execute</span><spanclass="keyword">(</span><spanclass="keyword">[</span><spanclass="default">'date'</span><spanclass="default"> </span><spanclass="default">=></span><spanclass="default"> </span><spanclass="default">$date</span><spanclass="keyword">,</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 36"data-content="<ul><li class="covered-by-large-tests">RDVRepoTest::testAdd</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="36"></a><ahref="#36">36</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="default">'duree'</span><spanclass="default"> </span><spanclass="default">=></span><spanclass="default"> </span><spanclass="default">$duree</span><spanclass="keyword">,</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 37"data-content="<ul><li class="covered-by-large-tests">RDVRepoTest::testAdd</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="37"></a><ahref="#37">37</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="default">'patient'</span><spanclass="default"> </span><spanclass="default">=></span><spanclass="default"> </span><spanclass="default">$idPatient</span><spanclass="keyword">,</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 38"data-content="<ul><li class="covered-by-large-tests">RDVRepoTest::testAdd</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="38"></a><ahref="#38">38</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="default">'medecin'</span><spanclass="default"> </span><spanclass="default">=></span><spanclass="default"> </span><spanclass="default">$idMedecin</span><spanclass="keyword">]</span><spanclass="keyword">)</span><spanclass="keyword">;</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 40"data-content="<ul><li class="covered-by-large-tests">RDVRepoTest::testAdd</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="40"></a><ahref="#40">40</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="keyword">if</span><spanclass="keyword">(</span><spanclass="default">$result</span><spanclass="default"> </span><spanclass="default">!=</span><spanclass="default"> </span><spanclass="default">false</span><spanclass="keyword">)</span><spanclass="keyword">{</span><spanclass="keyword">return</span><spanclass="default"> </span><spanclass="default">StaticRepo</span><spanclass="default">::</span><spanclass="default">getConnexion</span><spanclass="keyword">(</span><spanclass="keyword">)</span><spanclass="default">-></span><spanclass="default">lastInsertId</span><spanclass="keyword">(</span><spanclass="keyword">)</span><spanclass="keyword">;</span><spanclass="keyword">}</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 52"data-content="<ul><li class="covered-by-large-tests">RDVRepoTest::testGetByPAtientAndDate</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="52"></a><ahref="#52">52</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="default">$date</span><spanclass="default"> </span><spanclass="keyword">=</span><spanclass="default"> </span><spanclass="default">date</span><spanclass="keyword">(</span><spanclass="default">'Y-m-d'</span><spanclass="keyword">,</span><spanclass="default">strtotime</span><spanclass="keyword">(</span><spanclass="default">$date</span><spanclass="keyword">)</span><spanclass="keyword">)</span><spanclass="keyword">;</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 53"data-content="<ul><li class="covered-by-large-tests">RDVRepoTest::testGetByPAtientAndDate</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="53"></a><ahref="#53">53</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="default">$req</span><spanclass="default"> </span><spanclass="keyword">=</span><spanclass="default"> </span><spanclass="default">StaticRepo</span><spanclass="default">::</span><spanclass="default">getConnexion</span><spanclass="keyword">(</span><spanclass="keyword">)</span><spanclass="default">-></span><spanclass="default">prepare</span><spanclass="keyword">(</span><spanclass="default">'SELECT * FROM RDV WHERE Patient_Id=:patient AND DATE(DateRDV)=:date'</span><spanclass="keyword">)</span><spanclass="keyword">;</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 54"data-content="<ul><li class="covered-by-large-tests">RDVRepoTest::testGetByPAtientAndDate</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="54"></a><ahref="#54">54</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="default">$req</span><spanclass="default">-></span><spanclass="default">execute</span><spanclass="keyword">(</span><spanclass="keyword">[</span><spanclass="default">'patient'</span><spanclass="default"> </span><spanclass="default">=></span><spanclass="default"> </span><spanclass="default">$idPatient</span><spanclass="keyword">,</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 55"data-content="<ul><li class="covered-by-large-tests">RDVRepoTest::testGetByPAtientAndDate</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="55"></a><ahref="#55">55</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="default">'date'</span><spanclass="default"> </span><spanclass="default">=></span><spanclass="default"> </span><spanclass="default">$date</span><spanclass="keyword">]</span><spanclass="keyword">)</span><spanclass="keyword">;</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 56"data-content="<ul><li class="covered-by-large-tests">RDVRepoTest::testGetByPAtientAndDate</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="56"></a><ahref="#56">56</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="keyword">return</span><spanclass="default"> </span><spanclass="default">StaticRepo</span><spanclass="default">::</span><spanclass="default">delNumeric</span><spanclass="keyword">(</span><spanclass="default">$req</span><spanclass="default">-></span><spanclass="default">fetchAll</span><spanclass="keyword">(</span><spanclass="keyword">)</span><spanclass="keyword">)</span><spanclass="keyword">;</span></td></tr>
<small>Generated by <ahref="http://github.com/sebastianbergmann/php-code-coverage"target="_top">PHP_CodeCoverage 3.0.2</a> using <ahref="http://php.net/"target="_top">PHP 7.0.0</a> and <ahref="https://phpunit.de/">PHPUnit 5.1.0</a> at Wed Dec 9 11:50:18 UTC 2015.</small>