-
Notifications
You must be signed in to change notification settings - Fork 0
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
Create user #2
base: master
Are you sure you want to change the base?
Create user #2
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok c'est réglé
.../src/main/java/org/xwiki/contrib/usersync/discourse/internal/DiscourseUserSyncConnector.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pour l'instant, j'essaye juste de faire une requête sur l'api publique de github.
.../src/main/java/org/xwiki/contrib/usersync/discourse/internal/DiscourseUserSyncConnector.java
Outdated
Show resolved
Hide resolved
.../src/main/java/org/xwiki/contrib/usersync/discourse/internal/DiscourseUserSyncConnector.java
Outdated
Show resolved
Hide resolved
pom.xml
Outdated
@@ -60,6 +64,13 @@ | |||
|
|||
<!-- The repository where to get XWiki dependencies --> | |||
<repositories> | |||
<repository> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Il n'y as aucune raison pour que tu ai besoin de ça. Maven central est activé de base dans Maven.
@@ -31,6 +31,7 @@ | |||
@Role | |||
public interface UserSyncConnector | |||
{ | |||
void getUser(String userId); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cette methode n'as pas de sens dans cette API. Si c'est juste pour ton test unitaire il te suffit de caster this.mocker.getComponentUnderTest()
en DiscourseUserSyncConnector pour appeller la methode temporaire. Ça évitera d'oublier de la virer à la fin ;)
@tmortagne C'est bon cette première étape est terminée de mon côté. J'ai un problème indépendant mais je vais créer une issue spécifique. Je te laisse me faire un retour et merger si ça te parait bon! |
@tmortagne je viens de pousser ce qu'on a fait en début d'aprèm. |
No description provided.