Hi,
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);
inspired by:
Unfortunately, neither the events nor the stream is deleted when I browse to:
http://127.0.0.1:2113/web/index.html#/streams/TestStream
By the way, how do I obtain the event stream’s expectedVersion (I used 0)?
Thanks.
Christian