Remove superfluous stub

The stub was necessary because Machinery::Ui.warn was stubbed globally
but we had to call the original method in this test. The global stub was
removed in commit 9446860, though, so it is no longer needed.