mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Fixing Bbcode unit tests
--HG-- branch : 1.x
This commit is contained in:
@@ -25,7 +25,7 @@ namespace Orchard.Core.Tests.Common {
|
||||
public void ShouldReplaceImg() {
|
||||
const string text = "foo [img]bar[/img] baz";
|
||||
var processed = _filter.ProcessContent(text, null);
|
||||
Assert.That(processed, Is.EqualTo("foo <img src=\"bar\">bar</img> baz"));
|
||||
Assert.That(processed, Is.EqualTo("foo <img src=\"bar\" /> baz"));
|
||||
}
|
||||
|
||||
[Test]
|
||||
|
Reference in New Issue
Block a user