akka / akka-quickstart-scala.g8

A minimal seed template for an Akka with Scala build
https://developer.lightbend.com/guides/akka-quickstart-scala/index.html
Other
57 stars 40 forks source link

Changed Packages not updated in tests #41

Open gavinbaumanis opened 4 years ago

gavinbaumanis commented 4 years ago

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 commented 4 years ago

This issue belongs in akka-quickstart

gavinbaumanis commented 4 years ago

I have created a PR to correct this.