Skip to content

Various testing scripts leave apps disabled at the end #28638

@phil-davis

Description

@phil-davis

when they were enabled before the test script started.

Steps to reproduce

  1. enable the testing app php occ app:enable testing
  2. run some integration tests using tests/integration/run.sh
  3. look at the state of the testing app php occ app:list

Expected behaviour

The testing app is still enabled

Actual behaviour

The testing app is disabled

Server configuration

Current master (2017-08-10)

There are other scripts (in app repos...) that enable apps for testing and then unconditionally disable them on the way out. That can be annoying when running a combination of scripted tests and manual actions in the browser - suddenly the app you cared about got disabled. These could make use of similar code to whatever is done here.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions