Skip to content
Snippets Groups Projects
Commit 6db6e2b5 authored by llaffont's avatar llaffont
Browse files

Correction exception si authentification avec compte inexistant + Nanook

parent 3c6bc1c1
Branches
Tags
No related merge requests found
......@@ -196,7 +196,8 @@ class Class_Users extends Storm_Model_Abstract {
'prenom' => '',
'adresse' => '',
'code_postal' => '',
'ville' => ''
'ville' => '',
'id_sigb' => null
);
protected $_translate;
......
......@@ -87,6 +87,12 @@ class UsersMilesDavisAttributesTest extends PHPUnit_Framework_TestCase {
$this->assertEquals('Miles', $this->miles->PRENOM);
}
/** @test */
public function idSigbShouldDefaultToEmpty() {
$this->assertEquals('', $this->miles->getIdSigb());
}
public function testSetPRENOM() {
$this->miles->PRENOM = 'Miles Dewey';
$this->assertEquals('Miles Dewey', $this->miles->PRENOM);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment