I am trying to run some automatic end-to-end/integration tests and would like to delete a stream in my local eventstore ([TearDown]).
I am using:
_connection = EventStoreHttpConnection.Create(ConnectionSettings.Default, “http://127.0.0.1:2113”);
_connection.DeleteStreamAsync(StreamName, 0, true);
Unfortunately, neither the events nor the stream is deleted when I browse to:
By the way, how do I obtain the event stream’s expectedVersion (I used 0)?