----------------------------------------------------------------------
FAIL: allwatcher_internal_test.go:599: allWatcherStateSuite.TestChangeApplicationOffers
test 0. no application offer in state, no application offer in store -> do nothing
test 1. application offer is removed if it's not in backing
test 2. application offer is added if it's in backing but not in Store
allwatcher_internal_test.go:600:
testChangeApplicationOffers(c, s.performChangeTestCases)
allwatcher_internal_test.go:3654:
c.Assert(err, jc.ErrorIsNil)
... value *errors.Err = &errors.Err{message:"cannot update application offer \"another-mysql\"", cause:(*mgo.LastError)(0xc420113420), previous:(*errors.Err)(0xc4207ca780), file:"github.com/juju/juju/state/applicationoffers.go", line:294} ("cannot update application offer \"another-mysql\": Mod on _id not allowed")
... error stack:
Mod on _id not allowed
github.com/juju/juju/state/applicationoffers.go:294:
github.com/juju/juju/state/applicationoffers.go:294: cannot update application offer "another-mysql"
----------------------------------------------------------------------
FAIL: applicationoffers_test.go:295: applicationOffersSuite.TestUpdateApplicationOffer
applicationoffers_test.go:310:
c.Assert(err, jc.ErrorIsNil)
... value *errors.Err = &errors.Err{message:"cannot update application offer \"foo\"", cause:(*mgo.LastError)(0xc420b357a0), previous:(*errors.Err)(0xc4209013b0), file:"github.com/juju/juju/state/applicationoffers.go", line:294} ("cannot update application offer \"foo\": Mod on _id not allowed")
... error stack:
Mod on _id not allowed
github.com/juju/juju/state/applicationoffers.go:294:
github.com/juju/juju/state/applicationoffers.go:294: cannot update application offer "foo"