mirror of
https://github.com/CrowCpp/Crow.git
synced 2024-06-07 21:10:44 +00:00
update existing tests
This commit is contained in:
parent
a62956b61a
commit
00bd06d6d3
@ -1589,6 +1589,10 @@ TEST_CASE("local_middleware")
|
||||
return "works!";
|
||||
});
|
||||
|
||||
#ifndef CROW_DISABLE_STATIC_DIR
|
||||
app.add_static_dir();
|
||||
app.add_blueprint();
|
||||
#endif
|
||||
app.validate();
|
||||
|
||||
auto _ = app.bindaddr(LOCALHOST_ADDRESS).port(45451).run_async();
|
||||
@ -3155,6 +3159,8 @@ TEST_CASE("blueprint")
|
||||
bp.register_blueprint(sub_bp);
|
||||
sub_bp.register_blueprint(sub_sub_bp);
|
||||
|
||||
app.add_blueprint();
|
||||
app.add_static_dir();
|
||||
app.validate();
|
||||
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user