~kyrofa/unity-scope-snappy/integration-tests_previews

« back to all changes in this revision

Viewing changes to store/actions/open_runner_test.go

  • Committer: Kyle Fazzari
  • Date: 2015-07-08 15:36:07 UTC
  • mfrom: (24.1.2 unity-scope-snappy)
  • Revision ID: kyle@canonical.com-20150708153607-bjbokj8xwvna33yp
Merge prerequisite changes from lp:~kyrofa/unity-scope-snappy/integration-tests_surfacing

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
func TestOpenActionRunnerRun(t *testing.T) {
10
10
        actionRunner, _ := NewOpenRunner()
11
11
 
12
 
        packageManager := new(fakes.FakeManager)
13
 
 
14
 
        _, err := actionRunner.Run(packageManager, "foo")
 
12
        _, err := actionRunner.Run(&fakes.FakeDbusManager{}, "foo")
15
13
        if err == nil {
16
14
                t.Error("Expected an error due to opening not being supported")
17
15
        }