-
-
Notifications
You must be signed in to change notification settings - Fork 756
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
implement FosUser #1362
implement FosUser #1362
Conversation
c7fe6c1
to
9119a34
Compare
The implementation is over, I have a problem with unit test. I have to work on it. |
@nicosomb did you have any idea or idea how to fix them? |
No idea. Here is the error:
But I don't have user with this email in my test database. As I told on gitter few weeks ago, maybe the problem comes from sqlite https://laracasts.com/discuss/channels/general-discussion/testdummy-and-codeception-with-sqlite-in-memory-error-integrity-constraint-19 Will try with mysql (already tried, but few weeks ago ... I forgot what I did). |
It wasn't related to the database. I guess it is the FOSUser implementation that failed the test. It tried to create a new user with a username that already exist in the database. As I said in the commit message, We assume that the install command must be run to initialize a wallabag instance. NEVER to add more user. Did you agree? |
oooh yes, you're right! |
73723ec
to
3f7a629
Compare
Ensure that created use during install command will always be unique. We assume that the install command must be run to initialize a wallabag instance. NEVER to add more user. Also, use a better way to retrieve the real name of the database and not the one defined in parameters.yml (which isn't the same for test envi because the dbname isn't defined in parameters.yml but directly in config_test.yml)
@nicosomb |
How can I do that? -------- Message d'origine -------- @nicosomb Reply to this email directly or view it on GitHub: |
I don't really know .. On 12 sept. 2015 11:53 +0200, Nicolas Lœuilletnotifications@github.com, wrote:
|
can we merge now? |
(I know. I think I didn't do |
Yep good to merge. Then we'll have to work on oAuth PR On 12 sept. 2015 12:28 +0200, Nicolas Lœuilletnotifications@github.com, wrote:
|
Finally merged :) |
No description provided.