mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +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() {
|
public void ShouldReplaceImg() {
|
||||||
const string text = "foo [img]bar[/img] baz";
|
const string text = "foo [img]bar[/img] baz";
|
||||||
var processed = _filter.ProcessContent(text, null);
|
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]
|
[Test]
|
||||||
|
|||||||
Reference in New Issue
Block a user