Skip to content

Commit

Permalink
chore: replaces jameinel-ubuntu-lite with the ubuntu-lite charm in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
alesstimec committed Dec 9, 2024
1 parent 5662387 commit 5f21f83
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions internal/provider/resource_access_secret_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ resource "juju_application" "jul" {
model = juju_model.{{.ModelName}}.name
charm {
name = "jameinel-ubuntu-lite"
name = "ubuntu-lite"
channel = "latest/stable"
}
Expand All @@ -113,7 +113,7 @@ resource "juju_application" "jul2" {
model = juju_model.{{.ModelName}}.name
charm {
name = "jameinel-ubuntu-lite"
name = "ubuntu-lite"
channel = "latest/stable"
}
Expand Down
20 changes: 10 additions & 10 deletions internal/provider/resource_application_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ func TestAcc_ResourceApplication(t *testing.T) {
resource.TestCheckResourceAttr("juju_application.this", "model", modelName),
resource.TestCheckResourceAttr("juju_application.this", "name", appName),
resource.TestCheckResourceAttr("juju_application.this", "charm.#", "1"),
resource.TestCheckResourceAttr("juju_application.this", "charm.0.name", "jameinel-ubuntu-lite"),
resource.TestCheckResourceAttr("juju_application.this", "charm.0.name", "ubuntu-lite"),
resource.TestCheckResourceAttr("juju_application.this", "trust", "true"),
resource.TestCheckResourceAttr("juju_application.this", "expose.#", "1"),
resource.TestCheckNoResourceAttr("juju_application.this", "storage"),
Expand Down Expand Up @@ -93,7 +93,7 @@ func TestAcc_ResourceApplication(t *testing.T) {

func TestAcc_ResourceApplication_Updates(t *testing.T) {
modelName := acctest.RandomWithPrefix("tf-test-application")
appName := "jameinel-ubuntu-lite"
appName := "ubuntu-lite"
if testingCloud != LXDCloudTesting {
appName = "hello-kubecon"
}
Expand Down Expand Up @@ -622,7 +622,7 @@ func TestAcc_ResourceApplication_UpgradeProvider(t *testing.T) {
resource.TestCheckResourceAttr("juju_application.this", "model", modelName),
resource.TestCheckResourceAttr("juju_application.this", "name", appName),
resource.TestCheckResourceAttr("juju_application.this", "charm.#", "1"),
resource.TestCheckResourceAttr("juju_application.this", "charm.0.name", "jameinel-ubuntu-lite"),
resource.TestCheckResourceAttr("juju_application.this", "charm.0.name", "ubuntu-lite"),
resource.TestCheckResourceAttr("juju_application.this", "trust", "true"),
resource.TestCheckResourceAttr("juju_application.this", "expose.#", "1"),
),
Expand Down Expand Up @@ -819,7 +819,7 @@ func testAccResourceApplicationBasic(modelName, appName string) string {
model = juju_model.this.name
name = %q
charm {
name = "jameinel-ubuntu-lite"
name = "ubuntu-lite"
}
trust = true
expose{}
Expand All @@ -836,7 +836,7 @@ func testAccResourceApplicationBasic(modelName, appName string) string {
model = juju_model.this.name
name = %q
charm {
name = "jameinel-ubuntu-lite"
name = "ubuntu-lite"
}
trust = true
expose{}
Expand Down Expand Up @@ -954,7 +954,7 @@ func testAccResourceApplicationUpdates(modelName string, units int, expose bool,
units = %d
name = "test-app"
charm {
name = "jameinel-ubuntu-lite"
name = "ubuntu-lite"
}
trust = true
%s
Expand Down Expand Up @@ -1036,7 +1036,7 @@ resource "juju_application" "this" {
units = 0
name = "test-app"
charm {
name = "jameinel-ubuntu-lite"
name = "ubuntu-lite"
revision = 10
}
Expand All @@ -1055,7 +1055,7 @@ resource "juju_application" "this" {
model = juju_model.this.name
name = "test-app"
charm {
name = "jameinel-ubuntu-lite"
name = "ubuntu-lite"
revision = 10
}
trust = true
Expand Down Expand Up @@ -1096,7 +1096,7 @@ resource "juju_application" "this" {
units = 0
name = "test-app"
charm {
name = "jameinel-ubuntu-lite"
name = "ubuntu-lite"
revision = 10
}
trust = true
Expand Down Expand Up @@ -1190,7 +1190,7 @@ resource "juju_application" "{{.AppName}}" {
name = "{{.AppName}}"
constraints = "{{.Constraints}}"
charm {
name = "jameinel-ubuntu-lite"
name = "ubuntu-lite"
revision = 10
}
endpoint_bindings = {{.EndpointBindings}}
Expand Down

0 comments on commit 5f21f83

Please sign in to comment.