Return gruppierungId and id
This commit is contained in:
parent
5da024f7ef
commit
b3368fbd34
|
@ -74,6 +74,8 @@ class Member extends Model {
|
|||
'nachname' => $this->lastname,
|
||||
'spitzname' => $this->nickname ?: '',
|
||||
'geschlechtId' => $this->gender_id ?: Gender::getNullValue(),
|
||||
'gruppierungId' => $this->group_id,
|
||||
'id' => $this->id,
|
||||
];
|
||||
}
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Zoomyboy\LaravelNami;
|
||||
namespace Zoomyboy\LaravelNami\Providers;
|
||||
|
||||
use Cache;
|
||||
use Illuminate\Contracts\Auth\UserProvider;
|
|
@ -41,6 +41,8 @@ class PushMemberTest extends TestCase
|
|||
'lastname' => ['nachname', ['Nach1', 'Nach2']],
|
||||
'nickname' => ['spitzname', ['spitz1', '']],
|
||||
'gender_id' => ['geschlechtId', [17, 23]],
|
||||
'group_id' => ['gruppierungId', [103, 103]],
|
||||
'nami_id' => ['id', [16, 17]],
|
||||
/*
|
||||
'other_country' => ['other_country', ['deutsch', null]],
|
||||
'address' => ['address', ['straße 1', 'straße 2']],
|
||||
|
|
Loading…
Reference in New Issue