Skip to content
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

Changed Packages not updated in tests #41

Open
gavinbaumanis opened this issue Dec 29, 2019 · 2 comments
Open

Changed Packages not updated in tests #41

gavinbaumanis opened this issue Dec 29, 2019 · 2 comments

Comments

@gavinbaumanis
Copy link
Contributor

gavinbaumanis commented Dec 29, 2019

When running the template you are asked for an organisational name / package path.
E.g. com.example.

if you change this to something else, the "package" declarations are updated as expected.
However the imports in the test are not;

I,.e. if change the package to "com.bob"

The test looks like this;

package com.bob

import akka.actor.testkit.typed.scaladsl.ScalaTestWithActorTestKit
import com.example.Greeter.Greet
import com.example.Greeter.Greeted
import org.scalatest.WordSpecLike

import com.example.Greeter.Greet
import com.example.Greeter.Greeted

have both NOT been updated to reflect the changed package.

@gavinbaumanis
Copy link
Contributor Author

This issue belongs in akka-quickstart

@gavinbaumanis gavinbaumanis reopened this Dec 29, 2019
@gavinbaumanis
Copy link
Contributor Author

I have created a PR to correct this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant