| Conditions | 3 |
| Paths | 4 |
| Total Lines | 9 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 34 | public function __construct(\core\DBConnection $databaseHandle){ |
||
| 35 | $this->databaseHandle = $databaseHandle; |
||
| 36 | if($this->databaseHandle->exec("INSERT INTO institution (country) VALUES('LT')")){ |
||
| 37 | $this->instId = $this->databaseHandle->lastID(); |
||
| 38 | } |
||
| 39 | if($this->databaseHandle->exec("INSERT INTO profile (inst_id, realm) VALUES($this->instId, 'test.realm.tst')")){ |
||
| 40 | $this->identifier = $this->databaseHandle->lastID(); |
||
| 41 | } |
||
| 42 | $this->attributes = array(array('name' => 'hiddenprofile:tou_accepted')); |
||
| 43 | } |
||
| 72 |